That’s one point I have personally experienced. I’ve faced the reality of 30-31 migraines per 31 days a month. Luckily medical treatment is helping cut that number back significantly (though every day is a careful balance). But those medical treatments have been around less than 10 years. There’s even a class of headache, cluster headaches, which are also known as suicide headaches. Not every chronic pain can be dialed back.
Psilocybin has been showing remarkable results at treating Cluster Headaches, you might be interested in reading the relevant literature if you haven't already.