Yes, SFP‑10G‑SR is compatible with the C9300‑NM‑8X‑M module even though Meraki docs highlight MA‑SFP‑10GB‑SR. Cisco/Meraki does not prevent the SFP‑10G‑SR from working, and both Cisco’s compatibility matrix.
I am not a Cisco Meraki employee. My suggestions are based on documentation of Meraki best practices and day-to-day experience.
Please, if this post was useful, leave your kudos and mark it as solved.