Is endometriosis possible?

So I have a few of the side effect associated with endo (such as the pain during and after sex, irregular/painful periods, and stomach issues) and my primary physician diagnosed me with IBS but I’ve also heard endo can mimic IBS. I just wasn’t sure on exactly what to do.