You could in theory, but as Firebase is fully contained within its own ecosystem, you would be running them both in parallel. It is hard to envisage any situation in which such duplication would be practical or desirable.