OTG and DC Charging

Is it possible to charge LI-Battery with DC while OTG is connected? I don’t want to test because it might Kill the board and maybe the LI-Battery aswell.