The gut microbiome is coming out as linked to so much more in the body that we ever imagined previously. My theory is that I got RA due to depression and horrible diet (because doctors can't exactly tell). Lack of serotonin threw the immune system off.
Seperately, issues with dopamine change how the brain perceives and flags pain signals. In someone with a deficiency and suffering from chronic pain the two are linked.