I raised a number of broods of Ghost shrimp, this is the American native species, palaemonetes. They will eat their babies, if they catch one, but I never saw them go after them once they'd reached about 3/8" to 1/2" inch in size. I kept them with both large and miniature Fan shrimp, Snowballs [ white cherries ] and other shrimp species, and the only living shrimp they ever went after that I saw, were very small babies. Even the Snowballs were safe from them once they got to about 3/8 inch or so.
Did I watch them every minute ? No, of course not. I know some of the little shrimp did get eaten. But so long as I removed mother Ghosts from the brood tank after they dropped their eggs, most of their larvae lived to morph and most of those lived to grow up. I could put them into the main tank when they got to 3/8" or so and not worry about them.
I had several Ghosties born in the main tank who actually grew to adulthood in it too. They were in danger from danios, cories and kuhli loaches as well as other shrimp. Plenty of plants, rocks 'n wood gave them enough hiding spots, so that only a few became dinners. Of course I fed them well, which helps too. The shrimp populations grew steadily, except for the fan shrimp, who need brackish water for their larvae to survive.
I fed mine a mix of shrimp pellets and algae sinking pellets. They are omnivores, so they eat both animal and plant based foods. Algae is extremely nutritious and they'll eat it when they find it. But a nice high protein snack of dead shrimp or fish is always going to be eaten with gusto. They'll clean out a clam or snail shell to perfection too if the original inhabitant dies.