Raspberry + ESP32 + Ardupilot

I would like to know if anyone has implemented or if it is possible, an autonomous drone with RPI and ESP32, with the RPI as a flight controller using ardupilot and sending the commands and controls to the ESP32 that will control the motors?