Pixhawk flight control can use two m8p-gps for GPS direction determination? Ignore the interference of compass?

The interference from magnetic compass has always been a headache. It causes a lot of dangerous accidents. Now pixhawk supports two GPS inputs. Can we configure two GPSs correctly to replace the direction indication of the compass? Do you have this function now? If not later (3.7), can you add this function?
I think it should be a cool thing to connect two m8p-0 to flight control and configure their positions correctly, just like configuring INS_POS1_X (Y, Z) and GPS_POS1_X (Y, Z), and then use a ground m8p-2, so that we can get rid of the troubles caused by the compass for a long time!
I don’t know much about flight control algorithms, but I think it’s a good idea. I don’t know if you can make this assumption come true.
Thank you all.

This function is not supported yet, but it has been discussed: https://github.com/ArduPilot/ardupilot/issues/3934