That's a really good idea. You typically only need it on long trips, and then it can also be a normal trailer to load all your gear into. Meanwhile when you get to your trip destination, now you have a generator to run electrical devices without having to worry about running down the car's battery.
And it's normally at home, so if the power goes off for a week you can still run your house and charge your car.