Isn’t the usual solution for this to just be a contractor? Everyone I know who remotes from a different country is just doing this. Maybe there’s some rules I don’t know
In Most countries of the EU (if not all), you are required to have more than one or two clients to legally be a contractor, otherwise you are a “fake employee.”