Yes, this exactly. Put the same panel on your roof and charge your car at home (which you do anyway.) You won't mar the car's appearance and you'll get more out of it.
What I would love to see is a Tesla that can act as a powerwall and power your house when the grid fails. Some people hack them to do that but it doesn't look simple or without risk.