Sure, but I don't think things are that simple. It's a huge ecosystem, once it falls into the wrong attractor it is hard to bring it back into a different healthy state. For example, some key bacteria and their symbionts may disappear, or their predators may become really abundant. In this scenario, increasing dietary nutrients to favor certain bacteria might not work.
That is why stronger interventions, e.g. targeted bacteriophage therapies and fecal transplants are something that is getting trialed.