I'm originally from a north african country too, but I have managed to leave not long ago. I lived through the exact same thing (and still kinda am) back when I lived there. I once gathered the courage to download tinder and got a warning that said my location was dangerous to homosexuals so I noped out kek.
Ironically, what complicates it in my case is that I have genuinely good parents but they are religious. They would probably never try to hurt me but it would be a shock big enough to physically hurt them. (One of them has heart issues related to shock). I decided leaving was the only option, I only have to keep up the facade when I call or visit, for now. It'll get harder if I'm dating a woman and they visit me, but I'd rather not think about that for now, since I'm single.
The hardest part by far is the isolation, which was bad enough in my home country, but in my rush to leave I didn't think about how lonely being an immigrant is, let alone a lesbian one. I'm different from people who grew up here, I'm different because I'm gay, and even if I try reaching out to the "community", it's full of gender crap which is the same fanatical ideological BS I lived through with islam just with a rainbow coat. Sometimes it feels likes there's no place for us in the world.
Sorry for the depressing blog post, I am hopeful that things will get better one day. I also hope you manage to find a way to leave! The student route is the easiest, everyone I know left this way so you should look into it. You can even "cheat" by borrowing money to get the visa, then get a student job here. No need to have the full sum they ask