If you are Muslim, you can legally get married in Morocco. If you are Christian or of no specific faith, you can either bring your own registrar out to Marrakech or have a legal ceremony in your own country and have a wedding blessing or celebration in Morocco.