I think it is very probably related to acupuncture.
After decades of pain, and after blood tests, food elimination and an MRI I was told I just had Chronic Daily Migraines.
I then happened to read about the daith. Went into a reputable piercer in the city and asked for a daith.
"Which side are your headaches?" was the reply.
It was the Right, got a Right-sided daith and the next morning woke to no headache. None. Over 30 years of daily pain gone. Even now I do not get headaches.
I know there is no provable evidence but I know what worked for me and those I know.
I cannot dismiss the TMS thing but the way it is framed feels wrong.