You are correct. There is a U.S.-Thailand Treaty of Amity which allows Americans and American companies to incorporate and perform business in Thailand just like Thai people, except for agriculture and national security business.

Rujira Bunnag