i read that foreign workers have their passports taken by their employers, and can't leave the country unless their boss says so
In some cases, yes. My passport is in the house and I can come and go as I please. Of course if I want to go on vacation I need permission from my boss. Isn't that the case everywhere for employed people?