Yes, of course. Graduating high school is really not that hard, and you should be able to graduate somehow, whether it's with easy classes, a modified graduation plan, or retaking classes through credit recovery or summer school. These days, to graduate, you basically just have to attend school, do the work, and do credit recovery or summer school if necessary. I know people that have had to go to summer school/credit recovery for multiple classes, and still graduate, and go to college. You should talk to your parents, counselor, and teachers about getting a modified plan and credit remedial options. I personally am an incoming high school Senior, and have been always getting my credits, but know several people, who had to go to credit recovery/summer school, and still are on track to or did graduate on time. You could also get a tutor or have a parent or friend help you if you are struggling.
Personal Experience and Knowledge