It isn’t evolutionarily advantageous to seek a chaotic partner; what you describe is a symptom of complex trauma.

People that grow up in dysfunctional families learn that surviving abuse and chaos means certain adaptive behaviors (fight/flight/freeze/fawn), and these are deeply engrained on the nervous system in terms of how to stay safe in that dysfunctional system, even though it’s not actually what’s best for a human being in a healthy environment.

If one doesn’t heal that trauma, they’ll repeat the pattern in every relationship as that pattern is all they know about how to stay “safe”, even if the person’s life self-destructs in the process. It’s a primitive protection mechanism in the limbic system gone awry.