Sure, as talent and willingness to learn is enough to hire someone. It will take about a year until you write "ok" code though.
During CS you don't learn how to write code, you're just learning about architecture and algorithms ;) There is just not enough real-world practice involved.
CS degrees teach you how to do math, not how to be a software engineer.