Incidentally, from what my mother tells me, I was born as an engineer as well. When I was not yet two years old, I would first look at a coin-operated ride (like a car) from below before sitting on it. When she asked me why, I apparently told her that "I had to make sure it works right" first. While I have no memories of that time, there is zero chance this was given to me by some "conditioning" by "society" or even my parents, as my mother says she has no idea where this came from. At the same time, I clearly did not have the skills to actually make sure "it works right" at that age, or the awareness I did not have the skills, but somehow I had the desire to do so and understand it anyways.
My take is the people do not come into this world as "blanks" at all, but are already complex people with mostly formed personalities. Whether this is something random, or some form of reincarnation, I cannot say for sure, but "random" seems to stretch things by a lot. Memories are clearly lost if it is reincarnation. What may stay is intuition and some preferences. If that is actually what happens, certain types of people may also have a higher chance of becoming female and others of becoming male.
Of course, many people are not particularly good at anything, so they may have personalities weak enough to be formed to a degree. But these people will never find the dedication and level of fascination with coding that is an absolute pre-requisite to ever be good at it.
What we have achieved as society is that people that fall a bit besides the norm have a good chance to get to do what they want and are good at anyways. That is what matters. Coercing/tricking/convincing more girls to go into coding seems to run counter to that freedom and hence would not be a good thing to do.