I posted on your other thread about this topic. Yes, but there is some nuances to consider. Some of the items in the inventory tree are hidden and not displayed in the vCenter UI. Some objects have dotted line parents through secondary branches.
Basically you have to walk the children of every object. You'll also probably want to use a generic RetrievePropertiesEx() invocation instead of find_entity_views().
I may have some code that can help, but I need some time to clean it up (holidays with family are distracting). If you make any progress on your end, feel free to post up and I'll help if I can as well.