Apple sells lightning->HDMI adapters that could drive a display at 1080p and it’s been possible to pair a keyboard with your iPhone. I know folks that used that setup for writing longer texts while traveling.
Given that a lot of the infrastructure was already there, I wouldn’t be surprised if it trickles in over time.
You can see the same trajectory with iPads: At first they could mirror screens only, but with the recent changes to stage manager, they’re a pretty full-featured laptop if you use a keyboard and trackpad. My 11” pro is capable of driving a huge widescreen.