Yes, he can get the medical done now, before the marriage and before the application is filed. The DMP will send the results to the Regional Medical Centre that services the Embassy that his file will be processed at,
so it will be helpful for him to be able to tell them which Embassy that will be. Be aware, though, that the results are only valid for one year - so you don't want to get them done too far in advance.