Seriously. If you have chronic pain, limits on how much you can walk/move, or both go see a physical therapist.
I have had physical therapy ELIMINATE the following medical and pain problems, solely or in large part:
Lower back pain so severe I could at first not even walk to the bathroom (sciatic)
Foot pain whenever I walked (plantar fasciitis)
Three years of a fucked up ankle that was at times seriously impacting me
Pain when typing (carpal tunnel), at least twice
Widespread nerve damage that caused massive chronic pain and left me housebound for two years
The physical pain/fatigue/other results caused by having to recover from that kind level of pain and inactivity (cough being housebound) for so long
I try not to talk too much about my health on here, for a variety of reasons, but I am being newly reminded of how much the vast majority of people with chronic pain should be referred to physical therapy imho
(ETA: As people pointed out in the notes, a lot of this will not apply or can backfire for chronic pain that is actually caused by autoimmune disorders and connective tissue disorders, esp since most PTs are not trained in connective tissue disorders. This is why I said physical therapy should be a frontline treatment, not the frontline treatment.
Other frontline treatments for chronic pain should imo include imaging (as was pointed out in the comments, thank you for that), and a standardized panel of tests for things allergies, autoimmune indicators, vitamins/minerals, and a metabolic panel. If you have undiagnosed chronic pain, and you have not had all of those tests run, I highly recommend that you bug your doctor to do so, using those terms. I also recommend bringing backup to the appointment. Sometimes doctors want to help, but their training is outdated and/or Western medicine is so compartmentalized that they will not know to or will need nagging to run tests associated with other disciplines.
As for "why PT for chronic pain?" - if literally nothing else, because being in that much pain for that long causes a lot of inflammation and makes your body get stuck bracing and moving in ways that ALSO cause chronic pain, so that has to be addressed too.
If you don't have access to physical therapy, there are some really good resources, exercises, and videos online that can at least get you started (but be cautious if you can't get assessed in person), but I'm not qualified to vet or recommend any of those.
But if any of this sounds like it might help you, and you can go to physical therapy, please go to physical therapy, at least to try it and see.
It has been life-changing for me and has (in conjunction with other things) given me huge portions of my quality of life back.