This is doable, but the runtime will need to be taken into account. The total graph execution time would want to be a second or so less than the worst case senator for executing the graph, and that time would likely want to include the exporting the frame.
Generally I recommend bringing the objects into Dynamo once, and manipulating them there instead of in Revit.