Batteries can accept a charge from 2 different sources. This is very common in marine and RV applications. Shore power and solar for instance. Both sources are regulated and will prevent overcharging. I believe I have witnessed both the ICE generator and the front wheels sending a charge to the batteries simultaneously.