Is it possible to evaluate an analysis programmatically or even to execute an analysis programmatically with writing the result to the specified output?
If it is possibile, how does the implementation looks like?
you can do this via the AF SDK. At the moment I don't have access to a code snippet, but you can find examples in the documentation
The magic is calling QueueCalculation on the AFAnalysisService object. I think the doc that Robert links is a good place to start.
Retrieving data ...