I believe that big Pharma should be made accountable and made to pay for the damages done by the opioid epidemic which they created. However, I doubt there are many hikers who are oxi addicts.
OTOH, OTC pain killers are probably over used by long distance hikers. Some take the max recommend daily dosage or more every day.
Personally, I try to limit my use of them and stick to plain old Aspirin. As a 60+ year old hiker, it's probably good for me too. I find it's more effective taken in the morning rather then in the evening after the fact. In the evening, a couple tokes of a certain potent herb is very helpful.
I find after the first week or so my need to take OTC pain killers diminishes significantly, unless it was a particularly difficult day.