Yes! A person born in Beverly Hills, CA and another person born in Somalia are the result of luck. None of gets to choose their parents or where they are born. Those are the cards we're dealt!
Having said that it's not where you start off but where you end up that counts. History is filled with people who overcame severe disadvantages to lead happy, successful, productive lives.
Success leaves clues!
I believe the first step is to read biographies or study what people did to elevate themselves. If two people follow the same exact recipe they're likely to get similar results.
One has to truly (believe) they can do better.
It's one thing to have a dream and another thing when the dream has you! Ambition, determination, persistence, along with education and networking with (like minded people) while avoiding the "traps" such as criminal activity, unplanned pregnancies, choosing the wrong mate, using drugs or excessive alcohol can go a long way towards changing one's life. Also knowing how to say "no" to people who will pull you down. This includes family and friends.
Life is a (personal) journey.
Our lives are for the most part the end result of the choices and decisions we have made along the way.
No one is "stuck' where they are!
If you want something different you have to do something different!