Maybe with a uselessly broad definition of "luck", as in "lucky to be born at the right time for software to be a viable career" or "lucky to be alive, the dead can't earn any money at all".
But if you think that successful engineers are only successful because they just magically got hired one day, and if they never learned any science, math, or got an engineering degree and put in zero or near-zero effort they would have had the same odds of been hired, that's just not a logical argument. Same goes for other professions.
We all start with the hand we're dealt by the universe, but it is possible to improve one's odds quite substantially given time and good decisions (that's arguably the definition of a "good decision").
I honestly don't know how people who attribute everything to luck even manage to exist in the world.
Do you just sit at home staring at the wall waiting for luck to happen to you? What is the point of doing anything if all results only come from blind luck?
I think of it like `success = (luck * skill)`. Meaning that if you have all the skill in the world, but the absolute worst luck, you can still fail, and vice versa, but with that said, the majority of possibilities for luck can be countered by higher skill.
Is Ken Thompson lucky? Probably was very lucky to have influences to point him towards electrical engineering and computer science, but with his level of skill, it's hard to imagine him not having a huge impact somewhere. Ending up at Bell Labs (let's say that's luck since he could've worked in a variety of environments) is definitely lucky, but he wouldn't have created UNIX if he didn't also have the skill. I think this goes for the majority of figures in computer science (I don't know enough about other fields to say that about them).
That leaves almost zero chances of success.
Success, however we choose to define it, is in large part a result of luck. Skill, to a much lesser degree.