Using MAVlink 2 to send INS data to a Pixhawk

I was wondering if it is possible to use MAVlink 2 messages to send IMU and GNSS data from an external INS to a Pixhawk 6C Mini flight controller. The idea is to send these messages:

  • ATTITUDE
  • GLOBAL_POSITION_INT
  • RAW_IMU
  • HEARTBEAT

And then hopefully the Pixhawk would use the data from these messages to inform its navigation. If this is indeed possible are there any settings in ArduPilot Mission planner that I can use to enable this interaction or does it need to be done on the flight computer level?