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

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