Yes, it is not mandatory, but to obtain the CE certificate from a NB they will want to see evidance of your QMS. If it not ISO 13485 certified, you will have to convince them that your QMS is equally good to that standard or better. It is very hard to achieve this way, the easier way is to get ISO 13485 certified.