My partner is angry at our state's new vaccination mandate for state employees--because it allows religious exemptions. He understands medical exemptions, but he has no sympathy for anyone whose religion tells them not to get the shot.
In a country not far from here, one of the Islamic groups declared one of the vaccines "haram", which normally means forbidden, because pork-based products are used in its manufacture. However, it also stated that use of the vaccine is nonetheless permissible out of necessity, since there is no credible alternative.
If someone produces a vaccine that doesn't use pork-based products, but that also isn't as effective, I am not sure what they will decide. (Maybe this has already happened?)
But the great thing about Islam is that, like Protestantism, there is no central authority, so if you don't like one group's decision, you can look for another group that decides differently. I'm not sure if you're allowed to mix and match.