I bought a HP elitedesk G3 800 mini pc and managed to install an 'M2 to ethernet card' in the wifi port. Avoid HP G2 mini as they have a capacitator too close to the M2 wifi slot.
It's a bit macgyvering to secure it to the rear of the chassis though. You'll need 2 longer nvme screws and some hard plastic to secure it to the mobo.