Only in a very limited sense. Look up what happens when you try add a restriction of "You can't use this software for evil", or "You can't use this software to make nuclear weapons" to OSS.
https://en.wikipedia.org/wiki/Douglas_Crockford#Software_lic...