I used to do this all the time. We had a finished basement that my parents would allow me to sleep in especially in the summer as my room was really hot. There was a computer down there so I’d just play on that until I heard my parents getting up for work.
Now I regret it because I can never sleep properly. I’m always waking up.