Yes! - When I am lying in bed drifting in thought, I will think of a really creative idea or think of something very poignant I want to write. I keep a notebook in the nightstand just for these occasions, so I can capture the thought before I forget. :)
No, there's a reason... it's called my mind is writing a book at all hours of the day and thinks that sleep is for sissies.