Can 8th graders take credit courses?

I was wondering whether 8th graders could take credit courses? would it count for high school or not?

sorry, i accidently posted this in the wrong category.

Depends on the school district…our school district does have some select high school credit courses for 8th graders