I do not see it will be a problem. As long as you are a high school senior or junior, you can take a course at college level. It is not related to immigration status.