Stabilized Antenna Platform

I need to design a stabilized antenna platform for use on a small boat that auto corrects for pitch and roll of the boat. As this is very similar to a stabilized camera ball, I would assume that it can be done with Arduplane or Arducopter firmware. The antenna would then use another Pixhawk with Tracker firmware to drive the antenna in azimuth and elevation. Has anyone done this?