While there are many pathways to going into medicine, MIT does have an undergraduate program in Biology and students who complete the program go onto a variety of careers, including medicine and public health. More information can be found here: https://biology.mit.edu/undergraduate/current-students/career-development/.
Please note that MIT does not have a medical school, but provides resources on how students can think about preparing to apply for medical school here: https://capd.mit.edu/grad-and-med-school/apply-medical-school.
I recommend you speak with an Admissions Counselor at MIT to learn more about their MD program as well as their residency program.
Best of luck with your education, professional, and personal endeavors!