You can already do this by just inlining all the assets into a single HTML file.
This browser addon does that for example: https://addons.mozilla.org/en-US/firefox/addon/single-file/
The only downside I can see to what you propose is the file size overhead of base64 encoding the assets.