I know it’s crazy but... Is it possible to faint while sleeping?

I’ve got an exam tomorrow and I got really stressed out for no reason the whole day today. Like, I’ve never had stress this much on my entire life (Even If I’ve had more serious exams in the past).

Right now I’m feeling drained of energy and ready to collapse. I’m shaking and feeling really dizzy. I really want to sleep but I’m scared that something will happen to me.

What could be going on? I haven’t skipped any meals today however couldn’t eat to a certain degree due to stress.