I had a problem hemorrhoid about 20 years ago. It never bothered me with bicycling, but it would pop out with BMs and had to be pushed back in.
Anyway, there are 2 procedures for hemorrhoids. The internal ones are often treated with rubber bands as a simple outpatient procedure, even at some GP offices.
The external ones are removed with surgery under sedation (essentially being out).
I ended up doing surgery. Recovery was quick and not bad. Perhaps a day or two. I was given a pile of pain meds, but I didn't need them.
I'm not quite sure how much surgery they actually did... "cleaned out". I had issues with stools being a little soft for a couple or years before they returned to normal. The skin around the anus is a little tender and does best if washed after BMs.
Nonetheless, I can ride my bike for over 100 miles a day without any hemorrhoid related issues. And no other symptoms.