Most consumer motherboards have 2-3 M.2 slots.
You can buy cheap add-in cards to use PCIe slots as M.2 slots, too.
If you need even more slots, there are add-in cards with PCIe switches which allow you to install 10+ M.2 drives into a single M.2 slot.