Should be fine as long as you configure the pin as an I/O pin.

The weak pull up on that pin is disabled when you configure it as I/O, so depending on how the device sending the signal is set up, you may need to use a pull up resistor.