I wouldn’t mess with Ally.
It’s usually as simple as lease the car, and then once your account is set up, buy it out. In some states, the buy out has to go through a dealer. In others, you can buy direct from Hyundai financial.
There’s nothing straw purchase about it since you, the lessee, is the buyer. Remember, on a lease, you do not get a tax credit. You simply get an incentive from the bank.