Yep, surely can relate. I was diagnosed with chronic gastritis some years ago. For the past two years that I am an anxious mess, not only my gastritis has gotten worse, but I have also developed gerd and ibs from the anxiety. When you panic your stomach gets all messed up, so the digestion stops totally. As far as the not eating part, I can only tell you that I have lost 25 pounds in the last 3 months.
Talk with your doctor, he can surely help with the stomach issues!