>> If people have chronic pain
Chronic pain refers to long term pain. Your hernia surgery is short term pain.
No-one credible is suggesting preventing using opioids for short term (such as post operative) pain (although it does seem that Drs in the US prescribe too much for this type of pain).