MAVROS Compatibility with ROS 2 on Raspberry Pi 4 (Ubuntu 22.04 LTS)

MAVROS has a ros2 branch: GitHub - mavlink/mavros: MAVLink to ROS gateway with proxy for Ground Control Station

Yes, it works with humble. Do not use ROS 1. It’s end of life.
Other users report MAVROS works:

I don’t recommend MAVROS for companion computers though.
Instead, I’d recommend using the new DDS interface in the wiki.