Mac hardware is really good at booting MacOS from external devices. That’s how I would dual boot if I cared for such a set up.
When the model is no longer supported with MacOS updates, I wipe the disk and install Linux. Sometimes I'll keep a copy of MacOS on an external drive if I need to access or troubleshoot specific features of that model (like digital optical audio before support matured on Linux).