Far too complex and fraught with bear pits, boys and girls.
Far simpler/cheaper to put pilots in the cockpit who know that flying with 12 degrees nose up or so at FL380 is not a good idea, and you never know, they might be able to sort out some other problems too.