There is a theory I hear mentioned here and there but I cannot find validation of it in journals that u-receptor stimulation causes release of serotonin and dopamine. I have seen a guy put on Suboxone become manic, seemingly as a result of the Suboxone. It was either that or this guy just happened to have a manic episode start a few days after the Suboxone started.
How valid is the theory? Don't know. Several people abuse opioids to relieve anxiety. It could be that the euphoria caused by the opioids really isn't therapeutically doing something other than making the person more euphoric, thus improving their ability to tolerate obsessions.