Exactly this. There was a point in the late 2000's / early 2010's where Mac's were very overpriced relative to the hardware they were selling.
I built two Hackintoshes in those years, and they were rock solid. You did have to pay attention to the hardware you were buying (mostly motherboard and GPU), but if you got that right, they worked really well.
I had the same eperience. I built an “iMac” on top of all-in-one PC. Was rock solid.