Battery Monitor with two batteries that are not connected to PixHawk 4

Is there a way to connect two batteries to the PixHawk 4 solely for power monitoring purposes? I am building a rover that has two batteries with one being connected to four motors and the other being connected to the two Raspberry Pis. The PixHawk is connected to one of the Pis using a micro-usb but I want to be able to connect both batteries to the PixHawk Power ports solely for monitoring purposes in Mission Planner and was thinking of only using the Voltage and Current Ports from the PixHawk Power Pinout. Is this a viable option or am I out of luck?

Yes that’s possible. Details here
https://ardupilot.org/copter/docs/common-3dr-power-module.html?highlight=second%20battery