Yes, actually. When I had to wake up around 7 (even though it was JUST seven), I would go to school, and when our anatomy class was going on, I would fall asleep partway because it was rather boring. Ah, I could've failed if that teacher didn't help me with some of the notes I needed to put into our MLB.
And I've almost fallen asleep a couple times in 6th grade Social Studies. But that was because I was usually daydreaming. Oh, and I fell asleep a couple times recently, but not in classes, rather, during breaks between classes XD And study hall, if you don't wanna consider that a class <3 I usually fall asleep or nearly fall asleep because I daydream XD