Fantastic goal, and a great way to get started on your investment journey. House hacking is the perfect way to get experience in investing in real estate while also covering a majority of your living expenses. However, how well a property cashflows or covers your mortgage greatly depends on the are and type of property you buy. Better cash flowing choices may not be preferred living for a year or two and a higher quality building might be to expensive, and you are now covering part of your mortgage. So it most definitely depends on you goals and preferences, but whatever that may be - it is out there.
Once you have solidified your budget, I would start talking to agents and tell them what you are looking for and where, and begin to get a feel for whats available on the market. I would also speak to some lenders if you plan on financing your purchase conventionally. I'm sure you have heard about FHA loans, they are great for house hacking, and you can get a better understanding of your next steps by hearing their recommended options as well. If you need any help or have any further questions, I am an agent in the Brooklyn and Queens area, and am always available to speak further if you would like advice.