I suspect a bug fix coming for something v 16.x, iPhone 14 or wireless charging.
A problem I've had repeat was handled with extra steps by Apple support. In the few times it happened since 16.1 I've been sent to store appointment, had a support callback from a particular team, and that person asked that I submit my case to a feedback site.
My circumstances are a phone that passes diagnostics, and freeze/crash before being fully charged on an Apple brand MagSafe charger. Apple support is always reserved and won't say anything but disable the battery save charging mode or use a wired connection for now.