You can call FwpmFilterAdd from a driver and add a new filter but I am not sure that you will be able to add a filter for a particular process/application from a driver. Looks like you will have to add a filter for all established connections and filter by process ID in your filter. You can also communicate with your application to add application filters.