I used to read or meditate 30 minutes or so before falling asleep and I had better recall then than I have now. Not sure how much it affects you really, but you could try it out. Learning how to lucid dream is a great way of battling nightmares.