@Tai *********
You can indeed do so within Thailand. Except the requirements to do so are generally beyond the norms of what most companies can provide. We are talking of mountains of paperwork. Most wont or can’t provide all that’s needed.
If your company setup allows it then all well and good. The majority can’t.