Can endometriosis cause pain in the butt and in thighs and hips?

Yes. Endometriosis can cause inflammation in the pelvis causing a sciatica type pain (nerve related) or pelvic floor hypertonicity disorder (related to spasticity of pelvic muscles). Since pelvic nerves and muscle surround the hips - they can be affected. And since many muscles start in the pelvis and end in the thigh, they can be affected.