Now, I can see problems too: docked and portable modes need very different performance optimizations. But I'm sure that software can handle this, for example, IDEA IntelliJ has power save mode, and OS-es also demonstrated that they are fine on portable and connected systems alike, like MacOS, Windows, Linux.
It's also not a problem that some things are not available in both modes. For example, Switch has games that explicitly need docked mode, for example, Super Mario Party. Yet both the game, and the platform is popular.
I see no reason why a phone couldn't be a mediocre, or better PC.