So USB cable from 5v source into your USB connector going to a charger and then off to a battery?
If so. Yes. Just make sure the charger pcb has charge protection takes 5vdc in (will most likely be 3-6V for example) and outputs to a lithium battery (circa 4vdc). eBay have some REALLY cheap battery chargers that do this.