Question: Can I enable the internal pull up on P2 when it is configured as external Vref Input?
No. This should not be done. When P2 is configured as external VREF, the drive mode has to be set to HighZ Analog so that it becomes an analog input. The internal pull up will not be active in the HighZ Analog mode.