For travelers’ eSIM (paid), many people whom I asked, have recommended Airalo - https://www.airalo.com I have no affiliation.
I just checked Morocco, and it's $31.50 for 5GB. I think I paid 7$ for 20GB or something.
Then again, I have a phone with a regular SIM card. Maybe the prices are comparable if you have a new iPhone with no regular SIM slot and are forced to use an eSIM. In my mind, eSims should be cheaper, since there's no physical component there, but somehow that doesn't seem to be the case.