However, it would have been possible back when AIDS was first discovered as a deadly disease.
Even if you couldn't quarantine them all, implementing some kind of quarantine program would have gotten the message across earlier and saved many lives.
The problem was, the gays were already lambasting Reagan over his stance on gay rights. If he had tried to quarantine, they would have depicted it not as an effort to save lives, but some kind of gulag action.