Yes, it is fine to leave a solar battery charger on all the time. The charge controller will protect the battery. Indeed, this is even recommended if you are using lead-acid batteries. Doing so will help them last longer.