Theoretically right. However, there are two issues to be fixed.
First set up a pension fund, funded by income tax or VAT.
Secondly open the borders and make Thailand a migrants "paradise". Means, give them the same rights as Thai people. (Burmese are second class people up to now)👍