Yes but more as a social obligation, unless they have a medical issue that could make the vaccine more harmful
Religion is no excuse to prevent the preventable, and those who refuse to get their kids vaccinated should be held accountable for any issues that could arise from their negligence.