Aid64 and amd drivers since 2020 have not played along well.
Both side don't really know what wrong prob amd drivers.
Ben better in the latest beta of aid64 and amd 12.2.1 drivers.
If you go look in amd radeon software in notification you prob see a reset mark. That a symptom.
I'm like you, many freeze up with hard reboot, in game, web browsing etc. With rx 480, rx 580 and rx 6900 xt.
Wen aid64 off no more problem.