Absolutely, I think it's a great idea, take people through a little at a time, have the next code snippets on github or such just before the next installment...
Doesn't have to be complicated, just something that gives participants that "Hah! I made it do something!" experience. You know the one, I can tell.
Yup, that sounds interesting :)