Hi,
I had extreme constipation and painful rectum spasms for 4 years. I saw urogynecologists, gastroenterologists, and many doctors. I even did physical therapy for it because I had a very small rectocele, but they doubted that was it. They found an ileus on a CT from the emergency room, and I could not eat at that point. I was in emergency rooms at least 3 times a week, and X-rays showed I was backed up every single time. I was already on multiple laxatives, and GoLytely was my friend, but that even stopped working. They treated me horribly and sent me to a psychologist who saw in my chart the diagnosed ileus and told me I was not being treated right there. So yeah, an ileus patient being accused of being crazy. After that psychologist appointment, I went to a different hospital where I was helped right off. First to a urogynecologist who brought up a bag and referred me to a colorectal surgeon. I was given a temporary loop ileostomy as a test to see if that would help me. So I got the temp, but because I still had my colon, I produced mucus, and now the mucus balls were hardening just like the stool. My rectum was still going off, but I was able to poop now and about 75% better. They did a colonoscopy while I had the temp, and the doctor had to abort it due to, he said, I was thoroughly packed with mucus balls. He said he tried cleaning them out but could not get them all out because there were so many. He said for some reason your colon is not working; it needs to come out.
A few months later, I was in getting a total proctocolectomy. Removal of my whole colon and rectum. I also asked to take out my appendix, and the doc agreed it was a good idea. It was a huge surgery, and he took down the temp ileostomy and made my end ileostomy on the other side. I wound up with ileus, as many of us do after surgery, but after that cleared, I'm doing great! This was back in 2018, and no issues like that any longer. No more rectal pain or anything. No mucus balls because I now do not have a colon.
The choice is a personal one. Ask questions, read up, and decide if it's best in your case and, as others mentioned, get a second opinion. If you are female, you may want to see a urogynecologist as well to make sure your problem is not a female prolapse of any female organs. They have a special scan to look and tests. In my case, they never found out why my colon stopped working, but they did give me a solution.