I've only heard of it linked to the patch, if left on for 24 hours as directed. Since the patch is my LEAST favorite "harm reduction pharmaceutical option," I don't worry about it, but I've only heard the vivid nightmare thing from leaving the patch ON all night.
By the time you get to "dream" sleep, if you give yourself a small window of not vaping, I'd think most of the nicotine would be cleared from your system, anyway. You could try it. You may have continued nightmares for a bit due to quitting.... What you aren't getting from vaping is clearing out of your system, and MAY well be the cause.
To find out which it is, you could try a tank of WTA (whole tobacco alkaloid juice, contains some things found in tobacco besides nicotine but still fairly safe, as my understanding is the alkaloids themselves aren't harmful with good quality WTA) and try to vape a little bit of it before bed. If it eases your nightmares, you will know if it's the nicotine, or just the quit. I used WTA during the throes of detox and it helped (me) a lot (with all my detox symptoms) and I think I would have had a harder time without it. Of course, your other option is simply to power through what is happening, and I have a feeling the vivid dreams will subside.
Good luck,
Anna