C-section and endometriosis

I developed endometriosis after my first c-section. I’m due with my second in a few weeks and I’ll be having another c-section. I was wondering, can I have the endometriosis removed when they have my uterus open to have the baby? Just a thought 🤔