I'm moving this into the Hardware forum, as it is not an ARCHICAD question...
You'll want to search for "eGPU". Your old 2013 iMacs have only Thunderbolt 2 and lower specs than current machines which may be limiting. Also, just because an eGPU box lets you plug in a graphics adapter... it still must be an adapter that your version of MacOS supports natively.
The Apple web site store itself sells two eGPU's - Blackmagic and Sonnet:
https://www.apple.com/search/eGPU?src=alp
But both require the faster Thunderbolt 3 port which your old iMacs lack. OWC/Macsales.com has more TB 3 options.
You may find a Thunderbolt 2 box, but I think that would be a waste of money vs getting current hardware. For the price of a new iMac and an eGPU, you could probably get an iMac Pro.
One of the forum moderators
AC 28 USA and earlier • macOS Sonoma 14.7.1, MacBook Pro M2 Max 12CPU/30GPU cores, 32GB