Your visa has no affect on whether or not you can own property here.
However, do not buy a condo you haven't stayed in first. Most Thai developers don't really focus on quality and long term sustainability, but on flashy exteriors and cutting costs. Renting is also safer, since the property market in Thailand is suffering from an overabundance of empty units just wasting away, with owners refusing to lower the prices to sell/rent.
But if you really want to buy, stay in a condo for a year. Get to know the building and ask your neighbors who bought what they think, before you buy a place yourself.