I think the only risk is that if you have a real client running it reports the invalid messages and WhatsApp uses this as a signal to van your account.
So I think Meta/WA can opt to decrypt any suspicious messages they come across.
It must be either message size, or WhatsApp using a separate host name for attachments.
Much easier to implement than encrypted package inspection.
How does Whatsapp choose to ban people? Total messages sent? Then increasing the message size doesn't stop you from being banned, it just makes it take longer before you're banned. Messages/second? Then avoiding the ban by a message size restriction seems like a very clumsy way of doing it; it would be much more straightforward to avoid the ban by limiting the messages/second.