Sleeping with headphones listening to a loop of ocean sounds, or wind in a forest, etc. can be helpful. Exceptionally vivid dreams can get disrupted this way, anecdotally speaking. It seems a little like what this Nightware app is supposed to do. I'd find vivid dreams getting literally washed away by ocean waves using this method, i.e. you might be having a nightmare, and then ocean surf from nowhere sweeps through, and everything gets swept away, and I'd end up in a peaceful dream of floating on the ocean etc.