Is it bad to dynamically add wizard steps?

I'm designing a 5-step wizard where the user sees the steps during the wizard, so he knows where he is the whole time.

However, in the first step I prompt the user with a question and if he answers "yes", I'd like to add a 6th step.

Is it considered a bad practice? I'd appreciate if anyone can send an example where this is being done.

Thanks