Hello there,
First of all, you are not alone in facing errors trying to upgrade to 22H2. It failed many times for me before I finally succeeded. I must also state that my laptop's performance improved a lot on 22H2. (I had Win 11 already on 21H2)
I used BleachBit to clean my laptop (it does reset Windows Update too). However, Windows Update always failed to install 22H2.
As suggested on many forums, I downloaded and ran the Windows 11 Installation Assistant and it was stuck at 99% the first time. I tried disabling Anti-virus program, VPN etc. but it did not work.
The second time I kept the laptop plugged-in and ran the assistant. It again got stuck on 99%. But this time, I kept waiting after disabling the Anti-virus. Finally, it finished after about 24 hours (which I'd like Microsoft to look into).
Please monitor Task Manager too to see if the update process is consuming CPU and memory. If it is, then it indicates that the update is active, performing the installation.
I can certainly tell that Anti-virus and any VPN connection have an impact on the installation. Few users also mentioned peripheral devices could intervene too (USB devices, Type-C dock connector etc.)
Good luck!