As someone from a very (very) dysfunctional family (to say the least), I'll just say...

Yeah.

Just... yeah.

A family that works that way, where you are made to feel ashamed of your interests, your preferences, your feelings, your thoughts, who you are in general, will predictably raise kids who feel this way about themselves.

There are a lot of books about this kind of thing. Pete Walker's Complex PTSD: From Surviving to Thriving is one of them; you can see his free articles here. I haven't read his whole book because I found the writing style irritating and it's not as well edited as his online articles, but a lot of people say they've found it helpful.