Not endorsing changing IMEI in any way, neither did i try the validity of the following;
But it seems one could technically change IMEI on pixels, given what's written there is accurate (again i didn't test this, saved it as bookmark).
https://discuss.privacyguides.net/t/pixel-tensor-chip-imei-modification-guide/26295
If what is written there is accurate, one could root the device temporarily for the sole purpose of changing the IMEI, it's stated there changes will persist after factory reset and bootloader lock. One could then reflash GrapheneOS and I believe IMEI should be changed, again given what's written there is correct.
If one had a spare device, and is in a jurisdiction legally allowed to test this for educational/research purposes, with understanding what they are doing, i'm actually curios to the result specifically after reflashing GrapheneOS.