You can own the house and condominium, but you cannot own the land.
Many cases use the Thai company to own it, but here is a thing:
1. You can buy a land as a company name for BUSINESSES purposes or the company has AN ACTUAL income/revenue, setting up the company to just own the land is risky.
2. You still own the company and the land just 49% , the rest 51% is Thai.