I get like that sometimes. But way more as a passenger.
If I'm driving and sleepy, my remedy is turning the A/C to its coldest setting, pointing it directly at my face, and then I start singing or something. Whatever it takes to keep the brain juices going.