degree is not important only if you already have experience in the field. i
wouldn't say degree is not important if you are just interviewing for the
first job.
secondly, it is not a question of whether or not you can DO it. it is a
question of whether or not you can even pass the first job screen by the HR
people. these people are morons. most have HR, or psychology degree but don
't have any ideas in what you can do or what course you have taken.
unfortunately if your resume lands on these morons' desk, you are finished
right there.
if you are in non-CS PHD program, i would suggest you get a CS master's as a
dual degree. if you are already in STEM major, it's not hard.
best of luck to you all.