I doubt this is enforceable. Are you going to sue a government secret program because they used some open source code in a way that violates some weird clause?
On the other hand, it may be worth publicly and unambiguously stating a position even if unenforceable. This seems to be what most modern protest movements are based on. For instance, how many software repos "stand with Ukraine", even though they won't make an impact on frontline military reality?
Yes, citizens should sue the government when the government takes actions which are grounds for suit. The government sure will come after your money if you do things they say you shouldn't, and what's good for the goose is good for the gander.