Yes, this is a feature of the batteries known as “islanding”, allowing them to recharge from solar even during a power outage.