if the species you're thinking of is Atya gabonensis, the gaboon fan shrimp, then yes that is fine
they can sometimes struggle getting enough food though. i feed mine with liquid food intended for fish fry. they seem happy with that.
is the species isn't Atya gabonensis then i'm not sure if its ok.