Many / most schools admit people with no diploma on the basis of their work. This is why many students apply as Juniors in high school and how early admission works. If universities required a high school diploma as a qualification, students wouldn't be able to apply until they actually completed high school. There are many cases of people entering college as early as 13 years old, and this is not limited to MIT.