Exactly that, when my dash was out having LCD screen done I replaced the battery. Take a note of the mileage before taking it out. Not sure how you re-enter the mileage reading Paul Smith did mine along with various software updates.
To change the battery I would advise soldering in another battery in parallel to the existing battery, take the original out then solder in the new battery, remove parallel battery and you should still have your mileage, maybe.