Certainly, if you have the financial means, go for it. I own an M1 Max MacBook, and it runs as smoothly as an airplane. However, if you don't require that level of power, you might consider sticking to an M1/M2 Mac Mini, which is also an excellent machine (I have the M1 version).
You've got to...