For many years this type of chronic pain has been referred to as Tension Myositis Syndrome[1] (TMS) by some. Though the condition has been met by skepticism by both the medical community as well as many chronic pain sufferers, you'll find thousands of anecdotes online of it curing people from pain.
A study on Pain Reprocessing Therapy (PRT), which more or less treats "TMS", was released last year and has shown very promising results, and the idea that many chronic pain sufferers could be affected by it is starting to gain more recognition in the scientific community.
[1] https://en.wikipedia.org/wiki/Tension_myositis_syndrome