Theoretically, I'm sure some crafty solution like that exists, but then that is no longer true end-to-end encryption. It's 'leaky' E2E, which in the eyes of most crypto enthusiasts, is practically worse than open channel, because it gives a false sense of security.