I run into a similar problem. I have a power-hungry GPU (3080) and CPU (9800X3D). All my audio equipment was on the same UPS (and therefore outlet) as my gaming PC. The result is that any time a particularly stressful game would be open, I'd get buzzing in the speakers. (Especially if the framerate was at 360) If you ask audiophiles online they will swear up and down that a cheater plug, balanced cables, or optical i…
Pure sine wave UPSs are not that expensive anymore man. I think the biggest "desktop" pure sine wave cyberpower sells (1500VA/1000W, CP1500PFCLCD) is <$300 now. I have a couple of them, they are great.
And one of those, even the cheapest ones, run for about ~$900. And they are LOUD.