Not exactly. Your brain is shaped partly by randomness in the womb or in the environment that is not directly under their control. This doesn't include decisions such as whether your mother drinks or smokes but more chaotic variables that cannot be controlled. Also, your parents can do their best to choose what they consider a good environment (e.g. a city or a school) but your innate personality is a stronger indicator of the groups that you will tend to associate with in that context. This is why siblings who grow up in the same environment chosen by their parents can have extremely different personalities and peer groups.