On the one hand, a unified operating system would be a more efficient use of company resources. This could enable faster updates across the board, faster development of new features, and more seamless cross-device connectivity. This could also enable more desktop-class apps on Android and a host of other capabilities.
Then again, Google has a bad track record when it comes to maintaining new software and services. There's a reason why the Killed By Google website is continuously updated to this day, although Chrome OS and Android are way bigger and much older than killed projects like Google Podcasts and Stadia. The company's Fuchsia operating system also saw plenty of hype as a multi-device OS, but it turned out to be a less ambitious project focused on smart displays and speakers. And then there's the sheer complexity involved in a project like this.