A foreigner or a foreign company can own a building in Thailand, definitely.

On the other hand, the foreigner or the foreign company cannot own a piece of land in Thailand, unless getting a permission from the Thai authorities.

Rujira Bunnag