Have you considered rebuilding the 2015 iMac? If it is no longer used, and you are willing to sell it. I would rebuild it as a display only.
That's what I did when my late 2015 27" died. And others are also happy with their new DIY 5k Displays.
I’ve never thought about that but it may be something to consider. I’ve mainly considered buying a new computer then selling the two 27” to offset the cost.