I once had a consultation with a surgeon about hemorrhoid surgery. Her recommendation was to use fiber supplements because it’s almost impossible to get enough fiber from food alone.
(I ended up getting a bidet, and now my fiber-poor garbage diet doesn’t cause that particular problem anymore )