The current Firebase Realtime Database clients don't compress data in transit--it's a design decision we made a long time ago since for small pieces of data take longer to compress/decompress than to just send them uncompressed. There are no plans to change this, nor are there plans to upgrade the existing clients to HTTP2.
Switching to Firebase Hosting (different product, different use case: hosting website content): you can use the Content-Encoding header to allow for gzip compression, which will help download web content faster. Eventually, I believe the plan is for Firebase Hosting to support HTTP2, which will perform magic compression things under the hood, but that's a little ways off.