You are out of luck then, there is no legal framework for employment cross-border anywhere. Maybe in Dubai with their remote work visa giving you 0% taxes but that would require a relocation there.
And there definitely is a legal framework - this has very exact rules specified by the bilateral tax/trade agreements, every combination of western countries has them, and many non-western countries too.