I don't know if this is what you experienced, but I've noticed a curious, ephemeral effect whenever I take an addictive drug so habitually that I'm in danger of becoming addicted if I continue to do so: I seem to catch an early glimpse of intense withdrawal. This effect only started manifesting after I had reccovered from several addictions.
For instance, when I first started smoking I would have mood swings and became extremely restless, though one would expect polar effects, and upon quitting I experienced the same symptoms, just with increased intensity and for a longer duration.
I seem to have a psychosomatic safety-catch, or warning, against addiction.
Opiates are strange in that they're not definitively pro- or anti-psychotic for the general population. It varies a lot. So maybe you were just experiencing a psychotic reaction.
Have you ever smoked salvia? Intoxication from a kappa-agonist could produce nightmares, but from what I've read and learned the experience is so other-worldly/different that it really bears no relevance to strict emotion and is not really bad or good in most users; its a hallucinogen though so I'd expect chronic use would lead to either a compromise of mental integrity and/or a bad trip. I would expect mu and delta activation to overpower any kappa activation for oxycodone. Someone with more knowledge might have a better guess (enter E.A., Sekio, Ebola, etc.).