I've known non-EU nationals who went on to get jobs after completing their comp sci masters.
It was harder and more stressful for them, because the requirements were higher like visas and stuff, but totally doable especially in the field you're moving in to.