Then go charge more for those who are at risk and reject the recommendation for vaccine. I'd argue that would be a lot more effective (and fair) to get people to vaccinate then any of the current sociopolitical pressure and ostracization.
But we could already charge more for certain things like being overweight and cover this issue anyway. IMO if your BMI is over a certain amount you should probably be required to take a Covid vaccine, but not everyone.
They're illegal because of Obamacare, I believe. My understanding is that smoking is the only pre-existing medical condition that can be used to discriminate.