Yes, it works. This is because the pin has an open drain output rather then the usual bipolar stage of the rest of the output pins. This means it can pull to ground when set to 0, but it will simply float when set to a 1, instead of going high. Somewhat confusing in the data sheet, I believe this is not an optional analog pin, as the rest of PORTA.