You cannot alter the conversion of the links as stored in the database.
You can get the unformatted value and this will return the ID if that is what is stored.
$value = get_field('page_link_field', false, false);
see the documentation for get_field() https://www.advancedcustomfields.com/resources/get_field/