I get super intense close-eye visuals when I take tramadol or codeine too!!! I've noticed it more with tramadol in particular. I mean I get close-eye visuals all the time, ever since my first trip on shrooms a couple of years or so ago, but they're way more intense on tramadol. That, and when I don't drink enough before bed. Usually, I have several (read: way too many) drinks over the coarse of the evening before I fall asleep, but when I intentionally cut back (trying to do that more often because livers are important), I get such intense close-eye visuals that it sometimes keeps me awake. They're pretty creepy too, bizarre distorted faces and shit. Trippy as hell. I like them, though, in a weird way. At least they're not boring. There's something very empowering about being visually entertained by what everyone else considers darkness.
Benedryl makes them more intense too, but I don't know if that's due to Benedryl specifically or just because I take Benedryl when I don't drink to help me sleep...
I used to have lucid dreams on a regular basis when I was a little kid. Not sure why I grew out of it, but it was awesome and I enjoyed the shit out of it.