This is a difficult question to answer, as "military sci fi" can mean different things to different people. In general, military sci fi is a subgenre of sci fi that focuses on stories with a military or warfare theme. This can include stories about space battles, ground wars, and everything in between. Star Trek is a well-known and popular sci fi franchise, but it is not necessarily known for its military themes. However, there are definitely some military elements to the franchise, especially in the later iterations such as Star Trek: Deep Space Nine and Star Trek: Discovery. So, whether or not you would consider Star Trek to be military sci fi depends on your own definition of the term.