Just shiming in to point out that *a lot* of phones (but not Nokias) in the world do allow you to change IMEI autonomously, provided they are dumbphones without carrier-lock/secureboot based on MediaTek MT626x or Unisoc SC6531x/SC770x/UMS9117(L); as for smartphones though, I only know one that uses esim and at the same time allows you to flash a rooted stock to edit IMEIs: Gemini PDA.