Great idea. If the alarm only goes off for a few seconds, you could put it somewhere close, where it will wake you up in the middle of the night. Maybe put your phone in your sock, on vibrate, or in your pillow case, near your ear. If it wakes you up from a dream, lie still and return to the dream, lucid, like a DEILD. Timing it correctly will be the key.