I'd say it depends. If you are dead-set on observing all food safety rules, the pizzas are probably unsafe to eat. But in the real world, it is possible to bend some of those rules and get by unscathed. But you have to be smart about it--not all rules safely bend as far as others.
What was on the pizzas? Shrimp? Chicken? Raw sausage? Those things have a pretty short safety window. Cured meats like pepperoni are safer longer (that's why they're cured in the first place).
How hot was your kitchen?
How long did they sit out?
And then of course it comes down also to how long and how hot you're cooking things. You might well be able to kill off germs in things that aren't outright spoiled. Pizza isn't that long-cooking, so there's risk there.
Ultimately, you have to be the arbiter of safety. Check the USDA website about food safety and follow every rule if you want to feel certain.