Playing Devil’s Advocate ...
The point of requiring vaccinations is to achieve “herd immunity.” So the government isn’t trying to tell individuals what’s good for them. The government is trying to tell a mass group of people what’s good for them.
Mass groups of people are made up of individuals and there’s no way to legislate the group without legislating the individual.