How much muscle can you gain on gear while in a deficit?

Can you still gain muscle on gear (if it's your first time) while on a ~300kcal deficit? If yes, will you gain as much as someone on a bulk + gear or prolly not?
depends on many factors such as how much gear, what gear and if you've js started gym etc

a small caloric deficit won't completely stunt growth
also if anythig, if fat, it's benefical as no point bulking while already fat