Isn’t that what the experimental WYSIWYG editor is trying to acomplish?
That is similar to how Typora does it, which also alows you to switch from code to hybrid seamlessly, which I sometimes do, and it works as expected.
Still, users may want to continue where they left off last time. Even after finishing reading/editing a note.