The question should be "how effective is it" not whether you can or not. Sure you can read a lot of programming resources using your phone and perhaps even write and run some programs, but it would not be as effective as practicing it on computer.
Can passion overcome constraints?