No, video games can't teach you driving. Why?
Your car is not the fastest one.
The damage to your car will be no less than the others.
The side mirrors are indispensable.
There are three pedals that you work not with your dexterous fingers but with your damn feet. Which are not three in number.
You can't actually see your own car.
The purpose on the road is not to reach the finish line fastest.
It's just not your game alone anymore.
There are no extra lives.
And no you can't press Alt F4.
In fact, what would be a good way to understand real driving is to imagine yourself as the driver of the other cars in the game, those that stop on the red lights.