It is ok; you just have to offer a different UX for each medium. And not every application is done on every medium. I don't code or write long-form on my phone.
Some laptops fold so the mouse/trackpad is inaccessible and/or disabled.
I have a Lenovo yoga, and its a constant nightmare of websites and apps that cannot figure out if I am a laptop or a tablet, even with tablet-mode fully off. I am usually offered whichever UI is least useful for my current configuration