Yes, very much so. Having suffered a combination of ulcers, GERD, and IBS for several years of my life - there was definitely a relationship between my mental state and my physical state throughout those struggles.
Actually, the biggest savior I found from the constant pain, the hours spent in the bathroom, the classes and work days missed due to being too sick to leave the house - was learning how to meditate and breathe. The last year or two of dealing with all of those problems, I could pretty much sit down and make myself feel better inside of half an hour. And, without any other drastic major changes, the issues slowly dissolved. I think the root of a lot of the digestive problems I had was actually anxiety related; it's amazing how much power our mental state has!
Current day: I notice a little bit better digestion if I take the time to sit down outside and eat slow and intentionally - but it isn't drastic. For the most part, I feel well enough these days that eating in a hurry, eating while working, etc - doesn't really upset my stomach as it used to when my system was weak.