Your approach should work. It has value and I would take a look if you made it, but not too sure how useful it would compared to just spending the time making lots of build orders (and watching pro replays). Still, I think you should do it anyway because all of these incremental improvements from developers over time might add up to something awesome.
I have c# for parsing blueprints from FAF (and exporting them to html,csv,pdf,png) and parsing and rendering maps. I would need to fix it up before I publish but am happy to share. You don't need my code to do your idea tho.