You could try to drink a lot of fluids just before bed. Your body will wake up naturally to relieve yourself. You could use this time to write down your dreams.