The tricky part will be to get the the city to change your property's zoning to multi family (if it isn't already). This can be a very long and annoying process and you're not guaranteed to get approved. Always safest to buy land that is already zoned for it.
With that in mind, you'd also have to make sure the land you'd buy has water and electric running to it already. Buying land without this and adding the infrastructure to do it yourself will be really expensive.
Then you'll have to figure out how you fund the project (land purchase + build costs). A lot of Hard Money lenders don't like to fund on land. So you'll have to figure that logistic out.
But if you're able to figure it out and get it built, you can rent out the units and essentially BRRRR it and pull some/all of your equity out to repay your debts, yourself, and potentially keep the investment cycle going.
I would definitely talk to a contractor to understand what your build costs would look like.