Maybe...Congress has impeached one Supreme Court Justice in history, Constitution Article 2, Section 4..
The Article itself stays within the scope of the Executive Branch but the Section itself just says:
The President, Vice President and all civil Officers of the United States, shall be removed from Office on Impeachment for, and Conviction of, Treason, Bribery, or other high Crimes and Misdemeanors.
Likely, if Congress tried, it would be argued that the scope is only the Executive Branch.
Article 3's scope is the Judicial branch but says in Section 1:
The judicial Power of the United States, shall be vested in one supreme Court, and in such inferior Courts as the Congress may from time to time ordain and establish. The Judges, both of the supreme and inferior Courts, shall hold their Offices during good Behaviour, and shall, at stated Times, receive for their Services, a Compensation, which shall not be diminished during their Continuance in Office.
However, Samuel Chase who was appointed as a Supreme Court Justice by George Washington and confirmed by the Senate was impeached by Congress in 1804, and other federal judges (some having life-time appointments apparently) were dissolved.
Samuel Chase ultimately was acquitted by the Senate in 1805 however.
Doubtful that the military would actually do that. Trump while President was reportedly annoyed at basically being told 'no' that General Kelly said that:
The President may be Commander-in-Chief but the oath is to the Constitution. Obeying the President and officers are also a part of the oath but with the caveat that it is according to the regulations and UCMJ. You not only don't have to but you're taught to explicitly not follow an illegal order in the US military.
Not that US military members have given illegal orders that were followed but it is a little different to basically order the military to essentially start enforcing essentially a government coup for a politician against the US' own citizens.