I completely forget its name but wasn't there was a Mozilla project to do basically this a dozen or more years back? Obviously without the benefits of HTML 5 etc.
They may even retain some use - on OS X, for example, you used to get issues with PWAs being considered part of the main browser process for cmd+tab and cmd+`. I've had to use SSBs to overcome this in the past.