The species and size of the animal will determine what is possible. Corals may be O.K., but not all species of stomatopod will tolerate the light levels needed to support the corals. It is important to know what species you have to determine what conditions it will tolerate.
And yes, peppermint shrimp can get along with some stomatopods for a while, but all stomatopods are predators. Being a predator means that you occasionally eat other animals. What am I missing here? I have no more attachment to a peppermint shrimp than I do to a stomatopod. Whatever happens will happen. I can predict the outcome, but if you are willing to see the shrimp become dinner, so be it. It happens in nature so why not in your tank - economics be damned.