Yes, along the vagus nerve
The trillions of microbes in your gut are wired to your brain through the vagus nerve, a kind of biological phone line. Feed them well with fiber and fermented foods and they help keep mood chemistry steady; feed them junk and the signals turn noisy. This is why your gut is sometimes called a second brain.