Perhaps see this;
Hard drives and SSDs use S.M.A.R.T. (Self-Monitoring, Analysis, and Reporting Technology) to gauge their own reliability and determine if they’re failing. You can view your hard drive’s S.M.A.R.T. data and see if it has started to develop problems.
www.howtogeek.com
As for your HDD being upright, if the noise is reduced when laying flat, that's actually a solution. Make and model of your case? IMHO, in 2022, people tend to use large platter drives as storage for their critical content. SSD's have taken over people's system's with regards to OS and app's/launchers drives and a dedicated SSD as a game library.