Not really, it goes withing the framework of freedom to define what actions are to be allowed or not under certain licenses.
There is nothing wrong with making, let's say, a licence that prohibits the use of its adhered product for activities such as the development of nuclear weapons.
There is nothing wrong with making, let's say, a licence that prohibits the use of its adhered product for activities such as the development of nuclear weapons.