Yes, actually this is the official and recommended way to use Firebase and Expo right now - I wrote this article when this approach was new, but now it's described in official Expo and RN Firebase docs. There might be some minor differences, but the general idea stays the same.
Some resources:
- https://docs.expo.dev/guides/using-firebase/#using-react-native-firebase
- https://rnfirebase.io/#expo
Also, you might encounter this issue, there's a workaround in this thread:
- https://github.com/invertase/react-native-firebase/issues/6948