You can not take a local to your riad (a house) in Morocco, possible exception if you are renting the whole house. But even if you rent a house, there are always older locals watching, and local guys who you are planning to hook up, they refuse to visit because they know someone is always watching.
Goes without saying, hotels are also hopeless, past few years I've been to Marrakesh 7 times, several weeks each time, last visit in January. In January I stayed in cheap hotels just off el-Fnaa, several of them, each time me being the only foreigner, also no way to host. These hotels are super cheap and foreigners just don't end up in these hotels. The only way to meet a local guy would be if he happens to stay in the same hotel, these hotels always have many males staying. But even then locals are visibly paranoid.
Airbnb, not much better, but every apartment is different, most Airbnb in Marrakesh have a local staffer hanging around by the entrance, they seem to be neighbors, always older men, sitting outside, watching like hawks. Now, we may not care who sees what, but local guys who you try to invite in, they are afraid.
This is such needless headache everywhere in Morocco, local guys making eye contact all the time, they know why a single white guy is walking around Marrakesh, but there's nowhere to go. The only scores I've managed have mostly been outdoors, abandoned buildings, empty lots, there are many especially outskirts of Medina. They all expect a small tip, they are all tops, it is a bj and it's over within a minute lol.
Still, I'm heading back to Marrakesh this Tuesday. Anyone up for mint tea, just for a chat, lets meet in coffee shop, the on on square are open daytime as well even during Ramadan. Ramada is over on March 20th.