That would need proper advice. All kinds of things are possible.
My brother works for a UK company. He got them to employ a Panama registered company my father owns (paper shell) to do his job and he sub-contracts to the Panama company.
The UK company pay the Panama company gross by monthly transfer to Panama and he is paid by the Panama company to an account in Monaco (0% tax!).
He lives in Jakarta and before that Geneva, so only has tax liability over the Monaco rates on such currency as he brings in from there. Which is, of course (ahem) none whatsoever...!
Nice!