Yes, but perhaps an Intel MacBook Pro or Mac mini is an unsuitable form factor or an AIO desktop is the preferred form factor.
In the end, Cook is not a sentimentalist when it comes to product - if it is not earning it's keep, it gets scrapped (HomePod, Airport, Time Capsule, etc.). On the flip side, if it is earning it's keep, it sticks around (i.e. - non-Retina MacBook Air, AppleTV HD). That it is sticking around strongly implies that the 21.5" iMac is still earning it's keep (at least for the moment).