Summer School?

I am currently a high school senior and I cannot finish all my high school requirement classes on May 2018. I will have two more classes to take in order to graduate. This happened because I came from a different country and the credits I brought from my country did not coincide with the American credits. I am planning on going to college on the fall of 2018. Can I take summer classes to finish my credits and still go to college. The summer class will be for 1 and a half month and my school has the summer program as a regular semester. Thanks!