Hey there!
I haven't even seen cakewalk in ages, so I can't help with that unfortunately.
But I can recommend the M1 mac machines. Compatibility issues are getting more and more rare, and they're very very powerful machines for the price.
Whether you should get a laptop or desktop is up to your use case. All of them are good machines. If you mean to travel and work, obviously get a laptop.