The answer is probably yes.
The mechanism(s) go like this:
Exposure to full spectrum light in the evening > reduces quantity and quality of restorative sleep which in turn > increases chronic inflammation and contributes to depression both of which make pain worse.
Exposure to full spectrum light in the evening also > reduces nitric oxide production > which increases blood pressure and risk of cardiovascular disease and metabolic disorders.
In animal studies interruption of circadian rhythm with artificial light exposure when the animal would typically be sleeping decreases memory capacity.
And fat tissue has specific receptors for light which alters fat storage. Increased visceral fat produces more inflammatory cytokines and chemokines which sensitize pain fibers and increase inflammation throughout the body.
Exposure to artificial light in the evening even worsens the grades of children in school.
Adequate restorative sleep is so important that I prescribe all patients with chronic pain 2 pages of sleep hygiene recommendations.
To optimize your circadian rhythm get some early morning light exposure (without sunglasses) before 12 noon and at sundown reduce your ambient light exposure to mimic the natural light outdoors. Sleep in absolute darkness and wear blue light blocking glasses in the evening.
You can learn more about this topic by listening to a 12 minute TEDtalk by Dan Pardi who does research in the Circadian LAB at Stanford.
Hat tip to Tommy Wood for bringing this TEDtalk to my attention.
Sleep well.
Doctor Bob.