A nice thing about current PHEVs is that they have smaller batteries than full EVs, which could matter in a battery-constrained market.
So you would need to park and let the generator slowly charge your car? Why not just charge the car at a charger at that point?
Make the generator large enough so that it can generate enough power to directly run the electric motor for highway driving.
You only need the generator to be able to extend the driving time to around 8 hours to cover 99% of use cases, so if your battery can do 2 hours then the generator only needs to produce 3/4 of the energy in the minimal case.
What you are proposing would require the generator to be 3-20x as large as the alternative.
A car that uses 10kW average and has a 50km range is usable with a 7.5kW generator and stopping to charge every 200km. Knowing you have the ability to stop and charge or limp at 3/4ths speed to the next charger would allow more confidence pushing the boundaries.
A small battery means a 15 minute break to charge every 2 hours is viable and not a deal breaker for someone who only needs range infrequently.
The main reason would be cost and weight. Full EV card are still too expensive for many. I'm guessing there's a sweet spot that'd be much cheaper than either but would provide more range when needed. But as the other commenter points out the ICE + 20 mile pack might win out on efficiency of scale.
I wonder how reliable the portable diesel generators are. The huge ones in datacenters are known to have trouble starting up sometimes, so they're tested frequently.
Diesels require higher compression than gasoline and must be built stronger as a result. Which explains the higher cost of diesel engines in general.
Personally I'd be interested in a pure electric drive HEV with a high efficiency diesel generator. Give me just enough battery for around town (100 miles maybe?) and just enough generator to extend my trip to ~300 miles. The generator doesn't need to be large (and expensive) enough to be capable to drive from directly at highway speeds, but just enough to extend the range when needed.
Heck make the power units "modular" in 3 ft x 4 ft boxes and let me mix and match power sources. I'll start out with a 1 battery and 1 diesel setup, but could upgrade to 2 battery power packs later if I drive around town a lot. (^_^)
I was joking but actually modular "power packs" would be cool.. You could replace one at a time vs a full $20k battery. Or take one out and plug it into your home. Maybe even rent a extra diesel pack for that coast-to-coast trip. Hmmm, wish I had the energy to start random companies. ;)