There were lots of folks that pushed back on Trump up to and including Pence in his act of patriotism certifying the election. I wouldn't be so skeptical that Miley was one of them, he seems genuinely intelligent and Trump likely only picked him because he has a bad ass nickname "Mad Dog." (EDIT as another person said, I was wrong on this part -- though consider reading https://www.theatlantic.com/magazine/archive/2023/11/general-mark-milley-trump-coup/675375/?gift=LfMDGClsXPxuFi6NzzlsStWAlW-QPG1x0JcWnXcGjog&utm_source=copy-link&utm_medium=social&utm_campaign=share)
The terrifying reality is, a 2024 Trump might not have any of those roadblocks.