Yes, the way (one way) to do what you want is too much involved, although possible. And I made a contrived example what needs to be done "under the hood" of the compiler. Contrived, not for use.
I hope you understand such a "feature" really needs a lot of effort inside the compiler and would completely destroy size and efficiency.