Then why not get a Mac Mini or a Mac Studio and 27 inch Apple monitor.
Or if you buy a nicer mini then you can get a nicer display later on. The iMac is still limited the base M3 CPU, while the current mini is available in either M2 or M2 pro. Hopefully they update the Mini with M3 pro because that's what I've been waiting for.