A constrained diet can be a useful tool in identifying which foods cause inflammation and other issues. I now live on a subset of the food groups based on a few dozen such N=1 cleanse experiments, with much improved health.
Diet alone is never enough to get you out of the flare-up, but it makes a big difference in how deeply you suffer.