Regardless of any religious issues, leasing a car is unwise. It's a large financial commitment linked to a depreciating asset which does not confer ownership of the asset. Also, the new car industry is bad for the environment, electric cars included.
Better for your finances and better for the environment to buy a second hand car and maintain it.
As for the religious position, that's up to you, but all forms of workarounds are just workarounds. I don't believe in any God, but if there is a God, I doubt that he/she/it can be easily fooled by ruses designed to circumvent his/her/its rules. So called Islamic banking is just banking.