Is it possible to deploy with your spouse if you are both in the Military?

I just wanted to know if it is possible to go on deployments with your spouse if you are both in the Military (Navy specifically).