Can you run an LED with analog pins?

I ran the code with count going from 0 to 17 and leds 2 - 19 all flashed on my board. I tested on a freeduino board with an ATmega168 chip