Thailand's remote-work visas cover income earned outside Thailand. Working for a Thai employer or Thai clients is work in Thailand and needs a work permit, whatever visa you hold.