I mean, kinda yes kinda no. I try to base my character's flaws on problems I notice within myself or in my own past behavior, so I would understand best how those flaws would affect them. Because, thematically, I want my stories to be something that can speak to myself personally- so it's all about problems I deal with just verrrrryyyy coated in metaphor.
So tl;dr all of my characters are more or less based on myself- just very exaggerated versions of me.