If the court AI were a cost cutting measure before real courts were involved and appeals to a conventional court could be made then I think it could be done with current tech. Courts in the US are generally overworked and I think many would see an AI arbiter as preferable to one-sided plea agreements.