You mileage may vary, or others might say differently. But I have a dwarf Starlight Pleco, with Ottos, and Pygmy Corys in my 13.5g that has a ton of shrimp.
So far so good, I bought a Java fern that was attached to a piece of driftwood to put in the tank. So far no issues, everyone's happy.
Adult shrimp being eaten are usually unwell, or failing to molt. That said, I did catch a planaria slithering around which also could have caused the shrimp to be stunned, then the cleanup crew kicked in.
I've seen the same with Tetras, they fall sick or die and the cleanup crew which include shrimp to go town on them.