Yes. Morocco is an African country, and therefore has an increased risk of disease and infection due to its geographical location.
The recommended vaccinations that you should have before travelling to Morocco are Typhiod and Hepatitis A. If you are going to visit the country for an extended period of time it is also worth having innoculations for Diptheria, Hepatitis B, Tuberculosis and Rabies.
Consult your GP who will arrange your vaccinations for you, and remember to take out adequate travel insurance to cover you and your family in the event that you do fall unwell or require hospital treatment.