Yes you can open a company and yes it is
*****
% foreign/thai owned but your 49% shares are preferential having 5:1 voting rights. This way you have some protection / control? If you intend to trade in Thailand you will need a work permit and only on a work visa or marriage visa can you get this.