Am I Alright?

So I've had a bit of a long day and around 6:45, I felt sleepy and dozed off while watching a movie and I started a cycle of waking up and dozing off so I decided to take myself to bed. I fell asleep instantly and woke up again around 11:00. Am I okay sleep wise for the night? I took some melatonin supplements to encourage my body to go back to sleep so I can get a few more hours of snoozing for the day so I'm not groggy or tired all day.