Now generally the consensus is as long as you don't talk about it don't do it openly and you're not paid in Thailand and your employer is another country... You might be under the radar...
Interesting as it is actually illegal for you to work in Thailand even if it's for remote company and being paid in another country so the tourist visa is only for tourist leisure reasons....
already in 2020 was almost impossible to get in order to do retirement... Seems to be something wrong in the system that makes it impossible to do it legit...
basically it's a matter of "self-insurance" like at hospital. They require payment before treat often.... If it requires you to liquidize stocks for example it's not liquid/cash, and may not be avoidable instantly without you don't much action