My husband and I did this for our first house but it was a duplex. I would recommend it IF you do your research and weigh the pros and cons so you know what you're getting into.
Your standards are going to be different than if you were buying a strict rental because you're going to be living there and you need to feel safe. We bought in a B area and that fit us well because we don't really stand out and we're in a neighborhood with a mix of duplexes and single families. If you're looking at 4plexes, stay out of C/D areas unless your personal situation allows it (no kids, etc). If you do this I would recommend making it seem like you're the manager as someone already mentioned.
My advice based on my experience is to take advantage of the low down payment on the FHA/VA if you qualify and get into an area you feel comfortable in. Your plan might be to move in a year but that doesn't always work out, depends on the market and the lending climate and your personal work situation. We wanted to move after one year but at the time everyone wanted rental income on 2 year's returns, meaning we'd have to qualify for 2 full mortgage payments on our W2 income to buy a single family and move out. Might be different when you move but something to consider when you're thinking about what areas to invest in. It might not be as easy to get that 2nd mortgage, again depends on your personal situation.
We have a great tenant, but I'm a believer in putting a lot of effort into finding the right tenant and offering a good place in return. You can do this even if you're renting in a 4plex but the neighborhood is always a factor.
Either way it's a great way to get started and you'll learn everything you need to know real quick! Best of luck!