well there is this unjustified cliche that girls traveling to Morocco alone may be unsafe. It is just ridiculous. Morocco is one of teh safest countries per capital. You are likely to be raped or killed in some large US cities than anywhere in Morocco. This country is one of top 5 destinations in the world for last 5+ years.
Of course there is sporadic petty crime here and there like everywhere else.
Culturally speaking yes, good looking girls (Moroccan or not) will likely to be solicited for a date or a dinner etc. If you are not interested just say no politely or say that you are engaged, married or whatever. That will end it.
Remember there is also a sexual revolution in Morocco and they have millions of gorgeous and beautiful ladies that will make many jealous.
Hope this helps