I believe so too. As humans, we have different personalities that reveal themselves depending on the situation. How we react when we see a snake aiming us isn't the same way we react when a rat walks over our leg. Yet in both a situation we move into defence.
The same mechanism happens when we are in a relationship. A defensive brain gets activated when you are dating a toxic person. This doesn't make you bad.
You are simply protecting yourself just as you are biologically wired to. And you also have the capacity to heal and move into a happier space after a toxic experience.