OK, it appears to be something else, then.
Have you tried installing something different, such as Debian 12? If you have a hardware issue then I would expect other OS’s to have similar problems. (The only common issue I know is to have a failing or inadequate power supply.)
A similar issue is reported here: Home Assistant Freezes