Idk.... Decorator crabs can be pretty opportunistic. If you really want to, try it and see what happens. At least in the end, you'll be able to say, "I had a crab that carried around corals." Lol. If you do keep it, keep it well fed (spot feed it every night, or more), which will lower the chances of it going after shrimp.