It looks like it should be possible… It sounds like you have got furthest with your dwf graph, so could you hit the button on your Dynamo and upload the result?
I had a look around in the GeniusLoci package Export DWF node & it looks like the DWFXExportOptions method ExportObjectData might work?
There is a post on the forum here, which suggests you might not even need Dynamo, there might be a Revit Exporter which does the job?