Hello.
I am Dr. Selmani and I read carefully your question.
I think that even though you feel the pain in the
hip bone , cause of pain is no the bone but one of the nerves that are inside the belly near the site of the the surgery for removal of
endometriosis ( there are at least 2 or 3 nerves near that site). Nerve injuries during gynecologic procedures happen 1 to 2 % of cases.
The nerve can be damaged either by compression , or stretch or entrapment or even more rare from cutting the nerve or nomination of all these.
Most of these complains will go away itself gradually over weeks until maximum 6 months, unless the nerve is completely cut.
During this period I suggest you to keep moving and do exercise and walking and you can take some medication to calm down the
nerve pain such as
Lyrica ( Gabapentine).
Sometimes treatment with complex of vitamins B will help the regeneration of the nerve.
If the pain is the same after 6 months I suggest you to see a
neurologist for further evaluation of the nerve status.