This is better served by a laptop for the majority of people, though as someone that uses an unconventional keyboard anyway, a laptop is somewhat less compelling (since it occupies a lot of space with a keyboard that I actively avoid using), I can certainly see the appeal of a tablet for that purpose.
I personally don't think Microsoft quite got it right with using Windows on a tablet, though it was certainly a lot better with Windows 8, which is what the surface pro 2 (I think the first one as well?) shipped with. There's way too many compromises on usability because it's running Windows, and there's no meaningful impetus for developers to create their applications specifically with touch in mind.
Apple's been much more antagonistic to developers yet they still get people making apps specifically for iPadOS in a way that neither Google nor Microsoft have managed. I think this is the advantage to their totalitarian strategy; they get less applications built for iOS/iPadOS overall and their restrictions make it significantly harder or impossible to create some things you can find easily on Windows, Android, or even MacOS, but because they control the platform they can impose minimum requirements for applications on the platform and as a result you actually get programs that run with that device's UX paradigms in mind. It probably also helps that their platform makes more money and that the iPad is already in a position of dominance in this market, but I digress.
If Microsoft wants to fully realize their Surface tablet vision, they need to pump a ton of money into getting developers on board and building apps that fit the UX paradigms of Surface tablets.