Hi Richard
Yes,it can. You will need to create some code that runs every time one of the components of the file name changes and generates the file name.
Then you can set the returned filename using a line like this, where $fileName is your generated file name
$Prop["_FileName"].Value = $fileName
That gets passed back to the VDS code, which will create your file from the selected template.
Hope that helps
Nick