@seanccc I understand what you are aiming to create. It can be done as Carles said, for sure, and yes, it can be feasible if you know the XML export file structure (which is not guaranteed to always remain the same between versions, beware of this).
I am not 100% sure if this will/can be useful for you, but be aware that this feature is present in ThingWorx 8.5 as part of Creating a package for Solution Central (SC). It's being run as part of the Package creation process to ensure that you don't deploy incomplete packages. When you select a Project, this feature will scan all the Project entities and provide you with a list of what's missing and where and allow you to fix all these issues via a single button.
As a side note, you can create Packages (=Extensions) that will be stored in a FileSystemRepository even if you are not connected to SC.
If you have the chance to use 8.5, that I believe it could be a good option.