there are even companies that 'hire' programmer and give them a work Visa to let them work as freelance. They take 25% of your invoices, which is a pretty dam good deal for some expat.
From what I heard some airlines move their planes around on barely used routes to avoid taxes on not meeting airports requirements during covid. Might not be fake.
it depends, there is a Thai company that provides a work permit and Visa to developper as long as they earn more than 60k and pay 25% of earning to them. They pay your taxes for you, its pretty big.