Who’s in there first often makes a big difference
Shrimp should always go in first so they’re established and “know” the environs before adding in any fish, almost all fish will have a go at shrimp at some point ... if shrimp are already established and breeding, fish impact can be minimal
Unless they become dedicated shrimp hunters - usually dwarf cichlids, anabatoids etc, check Seriously Fish species profiles, if fish naturally eat small invertebrates as primary diet, and live predominantly in the same lower tank zone as the shrimp ...