Though you can, it is recommended to partner with a reliable custom mobile app development company to develop your app because they have the needed expertise and experience to build all features of the app with perfection and generate an optimal performance from the app.
Moreover, Firebase only offers a few services free of cost, and you will have to pay for various features if you decide to build an app yourself that will incur more cost to get the app developed.