>It seems strange to use it for something like chronic pain
There is extensive evidence that pain is significantly modulated by psychological factors. If that wasn't the case then opioids wouldn't work, as they rely on the descending pain pathway.
Thats good context. I don't have a lot of experience with chronic pain but I think I could see how CBT could be a good process to control how you approach pain.