Sì, si può fare usando PyQGIS, l’integrazione di QGIS con Python.

Per ulteriori info puoi cominciare da questo link:

PyQGIS Developer Cookbook


How many years can a mountain exist/
before it is washed to the sea?