Good day

I'm a beginner with Pics and would just like to confirm the following:
As far as I can see all the Pins on the PIC16F877 can be used as digital input and output if setting ADCON1=7 and without any other modifications, except the PortA.4 (open drain type).
Is this correct?