Anal with hemorrhoid ?

Can you do anal with a hemorrhoid? I have a small one. No treatments have worked including suppositories. My boyfriend has been wanting to try and I wouldn’t mind but am worried about the hemorrhoid.

ETA- all the treatments I tried were from the doctor. She said it’s just a small one and said sometimes even surgery just doesn’t work.