IIRC having an employee pay for costs associated with H1B and/or employer-sponsored Permanent Residency applications was flat-out prohibited. Is that wrong?
Temporary working visas like H1B(US) or 457(Australia) or L(Swiss) are all terrible in their own little ways, sigh.
The main issue is if you make a wrong career move your situation could quickly turn into an absolute nightmare, e.g. consistent abuse at work which you cannot escape.