Yes.
In a civil case, there are two parties and the case is about finding out who has which obligations to whom. In a civil case, the plaintiff has to prove that they actually incurred damage through the actions of the defendant.
A criminal case is the state vs. the defendant. The "wronged party" is the society as a whole, usually represented by the prosecutor. The victim, if there is one, just plays the role of yet another witness to find out if the defendant needs to be punished and how.
There are also examples of crimes which are completely victimless but still punished by some societies. For example, in many places sexual intercourse between two consenting adult siblings is a crime (incest), even though there is no victim. Also, for some crimes it is even a crime to attempt to commit it. So one can be punished in a criminal court even though they didn't actually succeed in causing any damage to anyone.
Example: I throw a rock at your car. When I hit, you can sue me in a civil court and force me to pay for the repairs. When I miss, I caused no damage to you, so there is nothing you could sue about.
But what if I throw a rock at you and miss? That's attempted assault, maybe even attempted murder. When law enforcement finds out about it, I could be arrested, prosecuted and convicted to a prision sentence, even though you are perfectly fine.