Not sure about the XD-M, but I have a Viridian Reactor instant-on (their term is "ECR") green laser on my XD-S. I believe they have one for the XD-M as well. Check out their site, viridianweapontech.com I believe.
Hello all, here is today's article posted on TheArmoryLife.com. It is titled A Gun-Mounted Camera? Viridian XTL Gen 3 and can be found at https://www.thearmorylife.com/a-gun-mounted-camera-viridian-xtl-gen-3/.