Implementation of Guidance laws


Is there a way to implement specific guidance law on the pixhawk?

I know that there is a waypoint flight mode, but can I determine how the drone will get to the desired points?

For example, set target coordinate from GPS and then guide the drone to those coordinate autonomously by Proportional Navigation?