Surely, it can be. How did the legislators want to implement a law against the kids' access to pornographic sites? The same techniques may be used for contents filtering in the Army. Surely, there is a server providing access of the soldiers to the
WWW. And there is a team of administrators that can include someone having censorship functions. Granted, the soldiers are not small kids, porn may be uncensored; but access to different pacifist sites that may affect moral of the Army, I guess, is restricted.