It all depends.
I have a custom-built Windows PC at GUMC that runs flawlessly - though lately, I have noticed a seemingly unnecessary increase in the CPU meter - but it has NO connection to anything on the outside world. No WIFI/WLAN. No bluetooth. Nothing. And as such, it works great.
My home rig, however, tends to get treated as the "bench test" machine. As such, it's prone to errors and glitches. It has to be online from time to time - to download new sets, to transfer iLok licensees back and forth to my MacBook Pro (which I'll discuss in a moment), etc. so it tends to have blimps and general annoyances. If you're going to keep it OFFLINE, a well-tuned Windows machine is CHEAPER and CAN work just as well. But beware. It takes more "work" in my opinion.
Now, that said, I recently tried out my new MacBook pro for Hauptwerk. 32GB RAM, all solid state. I even bought the Touch-Base drivers to support my Dell touch screens. This laptop has the latest Sibelius, iZotope RX, Logic Pro, DaVinci Resolve, Microsoft Office Suite, Apple's Office Suite, OBS, and more..... and I use ALL of that weekly! I do all the video editing, recording, website design work, composing, etc. on my Macbook Pro. I ran Hauptwerk for several days WITHOUT SO MUCH AS A SINGLE HICCUP!
I plug the power in, plug the USB-C hub in (which has USB and HDMI to my touch screens), shut the laptop, put it on its "bookarc" out of the way, and just go! I don't think I'll go back to my PC for my home setup. In fact, I'm thinking I'll sell it - or turn it into a train simulator PC. Who knows!?