You're also not allowed to simply move to other countries. You generally need to get some type of work authorization if you want to be able to get a job. This isn't available to everyone, and can often require proficiency in the native language.
Yes, this is why I referenced visas that might be attainable for people who can't go the usual "I work in tech and have companies courting me at every turn" route.