No. The only way to gain immunity through infection is by catching the disease-causing bacteria or virus, which poses a significant health risk to your child. This could lead to severe illness or long-term health issues, and some diseases like measles and meningitis can even be deadly. Infection also allows the disease to spread from your child to others, putting them at risk. Vaccination, however, enables your child to build immunity safely and controllably without getting sick or transmitting the disease.