Yes. There are some minor Islamist groups in Morocco such as
Salafia Jihadia, which was responsible for the 2003 Casablanca
Bombings. However, the King of Morocco has devoted assets and
police officers to fighting Islamist terror in Morocco, especially
since they are political rivals to him.
Thankfully, the Polisario Front in Western Sahara has not yet
resorted to terrorism.