Yes and no, the Magic Keyboard TouchID will work on an Intel Macbook but the TouchID will not function. Unfortuntealy, for the TouchID to function you will need to puchase a MacBook Pro with Apple silicon, a M1 or above.

If you need a Magic Keyboard with a working TouchID you will need to purchase a Apple silicon MacBook: