Is it really impossible to become a professor?

But they are better for a CS major than most other majors, and the OP will have a very marketable skill if they wash out or decide not to work in academia. I think it is a lower risk proposition than most other PhD paths.