Can an existing solar system be upgraded with a battery later?

Yes, though retrofitting can involve additional wiring work compared to installing both systems together from the start.