I need to control this in order to control the position of the shadow the drone casts on the ground for object recognition purposes.
Maybe here Interact with the sky - 2.8.2
Yes it is possible to control the position of the sun at runtime.
The documentation page you mentioned shows how to do so (some examples are provided).
Make sure that the sky mode is set to Dynamic.
Yes. Found it and tested it meanwhile. Works