Theoretically yes. But if you want to know the climate of senior officers you need look no further than the Joint Chiefs actually yelling at Trump in his office and disseminating memos on exactly what the military oath says. (Loyalty to the Constitution)