I believe anti-vaccine advocates are there for the sole reason of getting the votes of the anti-vaccine-minded people (and for pushing some into this category just to get their votes). It's improbable real politicians are suicidal enough to actually risk facing a pandemia once they get to power.
The French "ecological" party, EELV, has prominent anti-vaccine advocates.