before the "opioid epidemic," there was a flurry of research into opioids for "treatment resistant depression." I think most of the research used Suboxone, but I could easily be mistaken. oh, and some psychiatrists used tramadol (Ultram) off label in bad cases of depression and/or OCD (I think...) because its actually -a lot- like antidperessants, it just...also relieves pain. but now...
it seems to be all antidepressants, all the time. oh, that and atypicals...now and then you'll hear talk of Ketamine...there's new research in psychedelics for depression...
but opioids? I did read a little case study, once...a shrink used oxycodone in 'severe Schizophrenia," with good results. the author justified this by talking about "the agony of psychosis" or something. I think it won't be possible, given the sociopolitical problems with opiates right now, for $$$ to go to getting good, modern data...
but I"m glad you had a brief period of -relief- . :-)