Usage ROS - MAVLINK together

Is it possiable to use both for Companion - PX4 communication with diffrent uart interfaces?

This document show how to use one of them:

But I want to make some controls over Mavlink and some of them with Ros.