I don't really know if its possible to go through life without harming life as small as that. There's a religion where they try, Jainism. They will literally avoid eating food that's stored overnight, because it has higher concentrations of microorganisms. But even they acknowledge its impossible to entirely avoid causing harm, and only seek to minimize it.
https://en.wikipedia.org/wiki/Jain_vegetarianism