I've experienced numerous antiquated systems which failed to boot until I replaced the battery.
My old 3800X was giving trouble recently. Built in 2019. It couldn't remember the date. Normal dead battery I think. Check in Aida64. Vbat = 3.45V. A bit high and inaccurate but should be OK.
Next day, same problem. BIOS date reverted to 2017. Get out multimeter. Switch off PC. Remove side panel. Measure CR2032 voltage. 3.40V and slowly dropping, and dropping, and dropping. Very odd. Pull out battery. 0.8V. No wonder it was forgetting the date.
Something in the computer was "charging the battery" up to 3.45V. Not a good idea on a primary cell. I haven't seen this before. Normal healthy battery is only 3.25 to 3.30V, not 3.45V.
The moral of this story is don't believe Aida, don't believe any measurements in situ, dump the battery and measure outside the computer. Until you've performed this simple task, you can't be 100% sure the battery is still good after 5 years.
I'm perfectly happy to accept the intermittent boot problem could be something entirely different, but it doesn't take long to check the battery. If your 10-year old car has trouble starting on a cold morning, what do you check?