Daft question not knowing much about electric vehicles - could you charge one of these via a petrol generator?
I have a typical Honda builders generator I use for power tools.
It runs for ages on half a gallon of fuel plenty enough to charge for well over an hour or two and you would get more miles electrically than it you put the fuel in a car's tank.
Any reason why this would not work?
Give the information on the post preceeding yours as long as your generator is capable of delivering 7kW continuously there is no reason why it wouldn't work.
In my limited experience of these small site generators they are either 2.5kw or 5kW ones, clearly larger one's are available.