Instantiating a workflow activity based on number of tasks

Hi Community,

Random question here... I want to setup a workflow that instantiates parallel workflows based on the number of tasks. Basically the user will attach X number of related documents and I want to be able to set a parallel path for each document. I have played with parallel paths when I knew how many were needed, but is it possible to generate them on the fly in the workflow based on number of documents? All of the activities would need to be the same.

The other option is to prepare X number and then set any unused to automatically process but let me know if anyone has done anything like this.