My friend once did this for me to enter a baccarat tournament lol. I was short $50K usd to qualify and he loaned me it . And I gave it right back in chips
They use a very sophisticated casino bank checking system where they called my bank and verified it live
Hopefully they don’t do that for visas but I guess it would depend on the embassy