Morocco is open to tourists and quarantine is not required.
Requirements
Travelers who present a valid international certificate for full vaccination against COVID-19, with the use of an approved vaccine, are exempt from testing requirements. Proof of a negative PCR test, taken within the previous 72 hours, must be provided on departure if not vaccinated.
Restrictions
Face masks are required in public places and public transport. Restaurants and bars are open but must close at 9 pm. Nightclubs are still closed. Curfew now applies from 9pm to 5am. Source: https://www.moroccoworldnews.com/NaN/NaN/343725/night-curfew-to-start-at-9-p-m-across-morocco-starting-tuesday