It should but it’s important to create a gut environment that’s favorable to the good bacteria (more fiber, vegetables, less sugar etc)
I eat very little sugar and always try to have veggies and fruits every day. I only use whole grain bread and brown rice. And I take a good multivitamin which is food-based, not chemical-based, plus extra vitamin D3 and fish oil. I hope I'm covering all my bases.