I kinda have found myself doing this a lot. Although instead of it being different random melodies, as it were, I find that bits and pieces of styles from my favorite players will pop up in my playing without really even having to think about it. A list off the top of my head would include Ace Frehley, Paul Gilbert, Steve Ray Vaughan, and Joe Satriani. I've played along with these guys' stuff for a long time. I know their stuff, I know their style.
So now when I improvise a solo live, BOOM, out comes an Ace-style lick. I didn't think "Do an Ace lick!", it just came out. Then maybe I'll do some sort of Satch-ish whammy bar thing. Again, I didn't think to PURPOSELY do it, it just came out. So I've somehow managed to incorporate all these little bits and pieces of what my favorite players do, and adapt them a little here and there, until they become my style. You probably wouldn't hear me play and think "Oh that sounds like Ace" or "That sounds like Satriani". It sounds like me, HOPEFULLY. I like that.