In short, YES! Morocco is a safe country to visit for female travelers. As with all destinations, my best advice is to remain vigilant. The main crimes you need to watch out for are pickpockets and scams.
Should a woman travel alone?
However, solo female travel can be safe and fun! I'm living proof. Yes, risks and danger lie everywhere – even in your hometown. Like anything else in life though, the best thing you can do is take the necessary precautions before entering a risky situation.