Lease-to-buy hacks?

And your friend probably needs a replacement for a totalled car more than potential flipping opportunity