Can I take the MI pre-license course if I'm still in High School?

Yes, you are allowed to take (and complete) the 40-hour Michigan pre-license course while you are still in high school.
LARA only requires that you are at least 18 years old when it comes time to apply for your Michigan real estate salespersons license.