yes, i did set them with pinMode... I have an array of pins where I just put in (20,21), so everything should work if those pins can be used for digital output.
in the port mapping of the arduino mini/atmega168 those two pins only say ADC6/ADC7. "regular" pins have this notation: PC3(ADC3)