Using a single-byte control code to switch modes would only work if one of the following is true:
1. The only thing being transmitted is uncompressed text.
2. There is a software layer between the application and the modem, which inserts the aforementioned ATY sequence whenever the application sends the mode-switching byte.
3. The application speaks a protocol like PPP that can avoid ever transmitting the mode-switching byte.