Yes, I agree with @Jorge Rodriguez the best way is to invest in a duplex. If you are saving money now but have the idea of buying down the road that's great.
I think there are a lot of factors that go into the decision you're about to make. For example, how much capital you have saved now? Are you looking to wholesale, flip, or buy and hold? If flipping or buy and hold, what is the price point of property you are looking to to purchase? Are you using only your money or do you have a partner, private money, or using a HML?
These are just a few questions to ask yourself to get the juices flowing. I would say house hacking, to start your RE investing journey, is sometimes the best idea.