Iphone/Ipad opens automatically when charger is plugged in

I was wondering if there is a way you could have an iphone or ipad open automatically when charger is plugged in, using car gauges on old phone but would like the phone to automatically open when the car starts and all. thanks-shane