remote.com makes it easy
If you don’t want to work as an employee, then you can enter into a contracting relationship, but employers tend to avoid this because there’s always the risk that the local government determines the contractor is actually an employee and taxes are owed.