Yes to both Alison and Kooky - my understanding - except they have been using CBT/other talking things first not opiates more recently - to try to do much the same thing, plus the intent of the CBT anyway is as it always is - to help YOU address the anxiety, depression, stress, whatever. So - more help than an opiate only probably.
I mean probably if they came right out and said we want you to have CBT for your pain you'd think that they needed committing to a mental asylum probably! LOL So they call it 'pain modification' LOL
I have absolutely no idea whatever whether it works or not but as I see it - if it doesn't, you haven't lost anything, so what the hell, you may as well try it, hadn't you! And if it does, blooming brill.