Yes. Depression and anxiety are closely associated with chronic pain. Sometimes a traumatic event can contribute to chronic pain and physical pain is misattributed to a psychological cause. Treating an underlying psychological condition will often help chronic pain.
Yes. The relationship between pain and depression us a two way street. Psychological issues can worsen pain and can at times be the cause. Chronic pain can certainly cause depression.