image stabilization – How could I stabilise an aerial camera in one axis?

I am refining an externally-mounted camera system for light aircraft that is attached to the wing strut, and would like to stabilise the camera in one axis so that the roll of the plane doesn’t affect the angle of view of the oblique photograph.

There’s a Nikon D5600 DSLR in the housing, currently fixed to the metal framework – gets good results, but as the aircraft rolls in flight the angle of view changes (it’s nominally 45°). I would like to stabilise in one axis only (i.e. perpendicular to the direction of flight) – researching gimbals shows a lot of options for 3-axis stabilisation but not single-axis, and wondering what the options might be?

Can 3-axis gimbals be set to only work in one axis?