Commercial products that pretty successfully solved these problems have been on the market for decades and some large SPs used NetFlow data to dynamically adjust their MPLS/TE configuration as soon as Cisco rolled out MPLS/TE in release 12.0T.
Furthermore, like with self-driving cars and most other problems that have to deal with messy reality instead of abstract games, there are the pesky laws of physics. We’re limited in how we can classify the traffic, the size of the classification tables, and in metrics we can collect about traffic behavior.