Yes, solar batteries are safe when installed and used properly, with built-in safety features to prevent overcharging, overheating, and short circuits.
Solar batteries can be damaged by overcharging, deep discharges, extreme temperatures, physical damage, and improper maintenance or installation.