From what I know, you as a foreigner is allowed to buy land if you either:
You will be able to own the house on the land though. However getting your name on the registry will set you back $5,000.
Alternaitvely you could invest in an appartment condo. This is less complicated as there is no land to consider.