Local and online multiplayer in the same game session

Is it possible to mix local and online multiplayer in the same game session? Say, two players play on a couch at the same PC and shared screen, and two others are added using online subsystem. Is it possible now and how can I do this?