Well, you can't really do that. We don't know nearly enough about it. Hell, we're not even good at normal dietary science yet and the whole gut bacteria science field is really new.
You can find a healthy and fit person and get them to give you some of their gut flora and then eat it. That could probably work. It also might make you sick (I imagine) and it's terribly disgusting: "On a scale from swallowed to poo, how do you want my eaten food?"
I don't think that would work (bacteria living the colon can not necessarily survive all the way through the digestive tract). What is an accepted form of gut biome therapy is a stool transplant:
You can find a healthy and fit person and get them to give you some of their gut flora and then eat it. That could probably work. It also might make you sick (I imagine) and it's terribly disgusting: "On a scale from swallowed to poo, how do you want my eaten food?"