Apple does this right now. I use AirPlay to extend one laptop into an older laptop so I can have 2 displays when I’m away from home