First problem is that the anti-vaxxers are both ignorant of history and unable to reason about risk. They ignore the centuries of disease, the then-common human experience of bearing a dozen kids and having only a few live to adulthood, and they vastly distort the risks and ignore the rewards of vaccines.
Worse yet, they are entitled freeloaders, freeloading on the herd immunity that is created and maintained by the smart people.
This specifically endangers those who need to rely upon the herd immunity, the not insignificant part of the population who cannot be vaccinated due to other medical conditions. The anti-vaxxers are literally threatening the lives of these people.
So, if we wanted to do that, the anti-vaxxers need to be shunned, hard. This means zero access to any public space. Remember, many of these diseases are so highly contagious that an infection can occur merely by walking through the same space hours after an infected person has been through.
So, the anti-vaxxers exclusion list would start with: schools, govt buildings, malls, grocery stores, and all forms of public transport including buses, trains, planes, and even taxi/Uber/Lyft. Even that list is likely inadequate if we lose herd immunity, as is now happening.
The implications to public health & the costs to society are staggering if we lose herd immunity. This must be a simple requirement to participate in an advanced society. If you don't want to do it, go live on some island somewhere.