Pentagon recommends voting twice using an absentee “backup” ballot
https://www.fvap.gov/militaryhowto
According to the Pentagon, it is legal for the military to vote twice using a backup ballot.
They even give video instructions on how to do it.
Please advance to four minutes, 43 seconds to get this image: