Can constipation cause back and leg pain?

Yes. Mostly constipation can cause back pain and occasionally leg pain. Correct the constipation with stool softener and diet. If the leg pain continues would see doctor.