Just priced it out. The last 27" iMac, in 2020, was $2299 for the high end i7 (not i9) version, 8 GB (user-upgradeable) ram, and 500 GB Storage. Let's say upgrading to 32 GB of Ram cost, what, $100? So that's $2399 for a pretty decent design workhorse. I'd go for more storage but I don't know what apple would have charged so let's keep it at 500 GB for comparison’s stake.
Closest config to this now would be the 10 core M2 Pro Mac Mini, with 32 GB of ram and a 500 GB SSD. Got to add the Studio Display, but we won't go for the fancy nano-glass or fancier stand. And then we’ve got to add the keyboard and mouse you would've gotten with the iMac.
That comes to $3800.00 for what would again be a pretty decent design workhorse, though nowhere near a system you would brag about... basically middle of the road at best but with a great display.