My solution: I created a Flask server that acts as an interface between the Android Emulator and the Firebase Emulator.
Before (@BeforeClass) the tests I use OkHttp3 to send HTTP requests from the tests to the Flask server. These requests specify the data I want to load into Firebase. When the Flash server receives a request, it uses the Firebase Admin SDK to upload the data.