Can you compare the situation with smoking?
it's not illegal to smoke, it's an individual choice.
However, for the benefit and safety of others, you cannot smoke in an enclosed area, pubs, restaurants etc.
Is this not the same philosophy for the vaccine?