Using mosfet relay module for custom lumen light

As mosfet is a voltage controled device by varying voltage we can control the brightness right is it possible to use with autopilot?