Can a military trial be appealed to the SCOTUS?
Yes.
There are many avenues, but this is the most obvious [UCMJ Article 67(a)]:
(a) Decisions of the Unites States Court of Military Appeals are subject to review
by the Supreme Court by writ of certiorari as provided in section 1259 of title 28.