There's a pretty good finding here[1] about elimination diets being inappropriate for most patients. Basically without any diagnosis of something like celiac, allergy, etc you have a high risk of misidentifying foods as causes because the co-occur with non food triggers. The literature just seems super weak for most alleged dietary triggers.
[1]https://pmc.ncbi.nlm.nih.gov/articles/PMC12609589/#sec8-nutr...
It’s important not to conflate ingredients when doing an elimination diet, though. Separating restaurants or prepackaged foods at home that use MSG from those that use a lot of salt (or preservatives, or artificial dyes, or “natural flavors”, or any number of other things) is pretty difficult. I’ve seen several instances over the years of people assuming a restaurant used MSG based on getting a migraine, even when that restaurant doesn’t use MSG in any of their dishes. I’m not even a doctor, just an interested person with migraines. I’m sure a nutritionist or headache specialist could tell us stories.