You certainly sacrificed your sleep for a worthy game that time.The first one I can remember was Odin Sphere on the PS2.
I specifically remember booting it up at like... 4 AM because I literally could not sleep. Then despite the fact I had the volume off, my mom somehow knew and came in my room being like "you know that's not going to help you fall asleep". (I will admit, I had a lot of trouble falling asleep as a kid)