@Bra****
As much as people talk about it, I've never heard a single incident of anyone being arrested/deported for working illegally in a manner as described above. Immigrations asked me on numerous occasions during my TV extensions what I do here, I always say "I work from my computer in the US," never once had a follow up question.
Some will cite the arrest of a few Americans in 2018 for 'teaching english online' in Chiang Mai, but that was totally different. They were working in a building in Chiang Mai, for a Thai company, teaching Thai students, and being paid in Thailand.