Or course you shouldn't be able to think at some point in the night. Even I have stayed somewhat conscience just seeing blackness for hours, but during the time I don't realize it. I woke up and thought I had been lying there all night awake. But I wasn't.

Just like lucid dreaming, it takes practice to be conscience during any point in sleep.