Dynamo script to create Revit profiles from CAD blocks

I am very much a beginner with Dynamo but am in the process of creating some 3D Window & Door Revit families and want to speed up the setup process. I would like to know if it’s possible with Dynamo to select a CAD file which has a number of die profiles of window & doors (1400 individual blocks) and create individual Revit profiles?

Would be interested to know if anyone has done a script like this.

Cheers