Why not? Assuming lawyers aren't working based on hunches, one should be able to write down the process followed, which could then be encoded in software (as a flow chart or otherwise).
In fact, even if the lawyers are working from "instinct" and can't fully describe their process, it's just a matter of getting a good sample of existing companies (a few hundreds, perhaps, some of which not Delaware corps) and asking the lawyer to "fake advise" each one. At the end of the process, you'd have a pretty good model of that process.
Because, following the corp hypo, it isn't the lawyer's decision. A lawyer doesn't decide which path is best for a corporation. A lawyer outlines the various options and allows the corp's leaders to make the decision. Sometimes there is an obvious answer, sometimes not. Therefore any accurate flow chart would end with a series of options. The lawyer then stands ready to answer questions about those options. It's a back-and-forth conversation and, imho, the client rarely agrees completely with the lawyers opinion.