No, the MSI A pro ddr5 does not have an M.2 slot.
I need to check if your PC can use M.2 Wi-Fi or just PCIe Wi-Fi. It's hard to tell without knowing the exact slot on your machine.
It varies by chipset. B660 works, Z690 doesn't.