Yes you can teach yourself computer science, there are many websites available which help you learn in easier way.