Ports don't need to sell 5 million. The Wii COD games sold 1-2 million and yet were profitable enough for them to keep coming year after year.
Doom 2016 sold less than a million on Switch yet was profitable enough for Doom Eternal to be ported.
Although Doom Eternal seems to be M. I. A at the moment 🙄