I have done something similar. I used my VA loan to buy a home. Lived in it three years and nearly 10 years later I still have that place. I knew I'd have the property long term and would buy and hold. The place hasn't appreciated a lot. However, the property was inexpensive and it's paid off. Most "investors" advise against that, but it has worked very well for me. The property was taken care of bc it was rented mostly by families in an area close to a military base. I still have not had to replace the carpet after nearly 10 years and its a very light color. However, I did my research and I've ran the numbers & its very profitable.
Now, I am going to move back into the place to fix it up bc after 10 years it will need repairs and I'm moving back into a place that's paid for. I would use your time in the military and VA loan to your advantage.
I also bought and not quite "flipped" but gave some TLC to a couple of condo's in San Diego. I turned around and sold both for a sizable profit due to appreciation. This strategy works great here, but wouldn't work where I have my single family home. Those were two condo's I lived in. I used my VA loan again for one of them. Some people advised me to keep them and rent them out. However, this market is higher risk and I am not comfortable with that amount of risk right now.
I am not a professional, but use the tools you have, but do your research and do the math to make sure you'll have a return on investment. But, there's nothing wrong with buying a place and only living in it a few years. You need to do what works for you as a military person who moves often.
So, I think the plan is a good plan bc I did something similar. :)