In reply to Aled Williams:
In a nutshell, van life IS tolerated, but not universally and free camping isn't tolerated everywhere either.
Things have changed markedly following the murder of two trekkers on Toubkal in Dec 2018.
Moroccan authorities now deem free, van camping to be potentially risky and unsafe and so is no longer tolerated. Once parked up for the night, expect a visit from the police, military or other government agents. The latter includes locally appointed officials from rural cercles (districts). You will simply be told to move on as you're not deemed to be staying in a safe location.
Guarded, urban or semi-urban parking areas and enclosed campgrounds within or on the periphery of urban areas are deemed 'safe' and you'll be told to move to one of these. Other than in Ait Baha or Tafraout, obviously there are none of these anywhere near most of the climbing areas in the Anti Atlas.
The more laissez faire free situation in Tafraout is perhaps atypical of the rest of the Anti Atlas, but only to a degree. Earlier this year I noticed no overnight parking signs at the Painted Rocks. However, there are two huge campervan/motor home parks on the south west margin of the town.
This blog is worth a read as it gives a first hand account of one van lifer's experiences:
https://theyellowsoundmachine.com/vanlife-in-morocco-free-camping/
HTH
Dave