iMac Pro with HDMI in would be a purchase for me. The screen will outlive the computer hardware, yet an imac is cheaper than a studio display.
I think the old 27" iMac may have used the same screen as the current Studio Display, but the current iMac has a smaller and lower-resolution display.