It would be super easy to make it modular so the batteries can be swapped when they reach end of life. A well maintained lithium cell can last decades though if it is charged and discharged at relatively low rate.