I wonder the same thing. I find that I dream more when I can hear rain on the roof, so maybe ambient sounds (or a lack thereof) have a real effect on sleep
It is probably more likely that you are simply remembering dreams more when you can hear rain on the roof - either by power of suggestion, or because the stimulus of the rain noise is noticeable and memorable in your dreams, or because the rain itself is waking you up.
This isn't to say that you're wrong - there most certainly is an effect - but whether that effect is positive or negative is unclear.