Yes, in some countries it is indeed forbidden for individuals to use such equipment. Only state organs and certain industries are allowed to use it.
For example, cinemas and education mechanisms may legitimately use cell phone jammer. Of course, army and prison facilities in many countries can also be legally used. In addition, it is legal to use the equipment in some southeast Asian countries. There is no doubt that the use of the equipment in the Middle East is also legal.