There is fairly good research evidence that a wide variety of types of exercise and exercise therapy can reduce intensity of pain and other symptoms such as depression.

You can find out more about this research evidence in the SIGN guideline at SIGN Guideline:   https://www.sign.ac.uk/our-guidelines/management-of-chronic-pain/