Yes, you can, if you have local friends ready to help you. Yet, If you want to immerse yourself in Moroccan life, you should learn Moroccan Arabic (known as Darija). Or, like me, try to master French. French is one of the most used languages in Morocco, next to the official ones standard Arabic and Tamazight.