It's referred to as the Botez Gambit and it fits the definition of a gambit.
Nothing is ever free in Chess, capturing a Queen will always cost at least 1 tempo.
If I can develop a piece and take a queen I do not lose tempo. You can absolutely blunder your queen badly.