Charging the lithium battery while the car is running is possible, but ensure your charging system can handle the additional load without causing any issues.