Sounds similar to what Tim Berners-Lee was working on with Solid (https://solidproject.org/about).