It's probably a contributing factor, but there are many factors. I know going to bed at the same time is one way to have a good sleep and it's recommend that you have got a good sleep pattern if you want to become lucid.

Either way well done