When I was in high school, I noticed every time I ate something spicy (it was usually beef jerky ) right before bed I would have really vivid dreams. I don't know if there's actually any connection there or if it was just coincidence. Also I haven't really done that in years.