Not in software though. Clear precedent has been established via EULAs. Software companies set the rules and if users don't like, they can piss off. I don't see why it would be any different for the government.
Congress could come up with an act it it's for national interest.
The military isn't the typical End User.