I've struggled with chronic pain for almost 20 years after military and ultramarathons in my 20's. Many knee operations, 100's of doctors around the world without any success. Crawl up the wall in pain at night times.
Very recently however, I've found a doctor who prescribed extremely low doses of medicines normally related to depression; and the effect has been almost instantaneous in turning off the 24hr pain. I followed up the medical literature and this seems to be a niche but evolving area - worth checking out with your physician. I'm hoping that I'll be able to drop taking these daily in the near future and get back to what normal people feel like. My productivity has gone through the roof as well as being able to concentrate better on work and not on the constant pain.
Now to start making the journey back to fit again :)