Probably not. It's been done before but it takes a lot of setup and it's very time consuming.
Most likely your new shrimp will molt because of the stress from a new environment and the eggs will leave with the molt. Best case is that the larvae hatch and your fish/corals get a treat.