“Visiting friends” is not protected by the US Constitution.
https://www.cdc.gov/quarantine/aboutlawsregulationsquarantin...
https://www.cdc.gov/quarantine/aboutlawsregulationsquarantin...
However as I commented as a sibling comment to yours, SCOTUS precedent would hold that this is almost certainly allowed, despite my utter disgust for these backwards policies.
If you can forcibly sterilize someone, why not prevent them from gathering? https://en.m.wikipedia.org/wiki/Buck_v._Bell