It can be done. Make sure you're both willing to live in a base you share. This will likely mean a lot of moving around and uncertainty. Also be sure that each of your are willing to give up the career to stay home if you're planning on kids.
Don't commute in this situation.