> The question is what the purpose of visa to residence work programs achieves

It achieved wage suppression and control over workers livelihood.

And it should be illegal, perhaps even criminal the way some companies go about it.