Analog read from ATtiny45/85

I have looked through the ATtiny Datasheet and the pins are:

Can someone confirm I can use pin 3 or 4 (DIP pins 2&3) to read the resistance from a potentiometer, just like on pin 0 of the Arduino Uno? I'm wanting to replicate this Arduino AnalogInput example on the ATtiny85.

Thanks,
Jake

Yes