This feels very similar to what Edison Motors is doing for the trucking industry. Electric powertrain with on-board generator.
https://edisonmotors.ca/