Is it possible to use Firebase Gen Kit instead of Google Gemini Api. Both are for Gemini
As long as you are using the Gemini component for GenKit, then yes, you can absolutely use it. (Possibly even encouraged, since there is a category for use of Firebase.)