Nothing wrong at all with the 2k 27" iMac screens.
support.apple.com
But not with M1 according to Apple however that M1 MacMini proves them wrong.
Use your iMac as a display with target display mode
Target display mode is a feature available with certain older Mac models.
But not with M1 according to Apple however that M1 MacMini proves them wrong.