There's absolutely modern precedent for limiting rights in the interest of public health.
See: smoking bans
Only a couple decades ago, people had the "right" to smoke in airplanes, stadiums, stores, and restaurants. Then it was eliminated because other people have the right to not be harmed by your lifestyle choices.