There’s this episode of Futurama where Fry eats an old burger from the floor. After that, the parasites work to make him healthy, smart, strong, so that he has higher chances of surviving, thus eating and feeding the parasites

Could some sort of virus/bacteria do the same? If it is possible, why doesn’t this happen or not as often?