There is no technical or business problem to process millions (or even billions) of immigration cases.
Immigration cases pay for themselves.
I wish I could be in business of approving/rejecting immigration petitions. That would be a very profitable enterprise.
The problem is that US society is not culturally ready to stop unfair discrimination toward immigrants.