Depends on what you define as a “bad” dream. For me, a bad dream is when I’m unhappy in it, so if that’s not the case and I still wake up, I wouldn’t call that a bad dream.
If you define a bad dream as something that wakes you up, only then is it necessarily a bad dream. Otherwise, no.