The problem of sex trafficking/prostitution in Morocco is quite sad indeed and no laughing matter. When some people speak about Moroccan women, it is through a convoluted 'orientalist' lens and mostly driven by harmful and damaging stereotypes often pushed by foreign men who sexually fetishize them. Fetishizing is not to be confused with appreciation, which acknowledges an individual's agency and full personhood beyond just being a tool for gratification.
Though Morocco is a Muslim nation where prostitution is prohibited and punishable by imprisonment, the government allows it. It does nothing to address the problem of unemployment/poverty which underlies it. Nor does it call to task the underground human trafficking networks.
These women are largely poor, often sufferers of domestic abuse, separated and divorced. This tells me the country has no safety net for vulnerable segments of society. I feel sorry for women engaging in sex work and sparingly doubt that's the sort of life they planned for themselves. I don't for one bit buy the idea that women see this as liberating or access to freedom.
As for marriage, I would say no matter where you go. Women may feel pressured to marry to feed their families, particularly in cases where financial need is great. The type of men a woman has access to is predicated on the sort of life choices that she can make. If she has money and her financial needs are met, then she is likely agentic and making her choice freely about who she marries.