That is kind of the purpose of immunizations - to make you immune to an illness.

There are regular K-12 schools that have immunization waivers for parents who have religious objections, or in some states, any type of objections, to getting their kids immunized. I would look and see what the state uses for the school district/what the laws are and go from there.