Can constipation cause upper right back pain?

Back pain . I can only think of kidney stones and muscle tightness and cramps that cause back pain. Constipation can only cause back pain if you are straining really hard and tense your back muscle while hunched over that can cause back pain. I would see a if stool softeners or higher fiber can help with the constipation. If it continues, then see a specialist.