I also have an idea for this hybrid, that is to get one of these cool 12v stators they have, which I would do even without the ebike, but for the ebike, I'll rewind it up to 40v, or so, and connect it to the charging port on the battery's board. If I am not mistaken, the charging controller is part of the pcb in the battery, and if it isn't, it will be, since I already found a generic battery board for ebikes, and that's what it does. So when the motor is running, it will put some charge back in the batteries. I like the idea that if there is no other way to charge the batteries, that if I just run the gas engine long enough, it will take care of itself.
A long time ago, I lived way out in the boonies, totally off the grid, and someone gave me an old golf cart, without a charger. I put 36v worth of solar panels (3 in series) on the roof, and eventually put together a 36v gas generator on that spot in the back where you are supposed to put your golf clubs. My own idea of a hybrid. If I neglected to drive it for a couple of weeks, the solar panels would top it up. If I wanted to cruise it around more often, I'd just have to start the generator, which had a recoil starter. The cool part was my house was off the grid, too, I used the golf cart to charge my house up, when I occasionally needed to. It's kind of funny that whenever it was raining and overcast, and there was no sun to charge my house up, the tendency is to stay inside and play video games all day (back when my old N64 was the state of the art), and use a lot more electricity than I otherwise would. I got around in that old golf cart.