You realise your existing 27” iMac screens are 5k not 4K right? You can set a 4k screen to scale to the same visual size as the iMac screen but it may not appear quite as crisp/smooth.
This may or may not be a problem for your use case.
If you want the same panel but external only the LG ultrafine is gonna be the same physical size and resolution.