If you mean something like ghost shrimp then they would probably eat mostly scraps of food left over from your other fish, sometimes even eat it before they do has they can usually detect food in the water faster than your fish. Not sure how good they are at eating algae to be fair, they might eat a bit if they cant get anything else but its highly likely they will get your fish food.