Implementing my own control system

Hi,
I’m trying to figure if there is any way to program parrot anafi drone by using my own code of control system? I mean there is any way to program anafi like you can program other parrot drones with simulnik (matlab)?
Matlab is not supporting Parrot anafi drones.
thx,