https://www.advancedcustomfields.com/resources/acf-save_post/
add_filter('acf/save_post', 'post_permalink_to_field');
function post_permalink_to_field($post_id) {
$permalink = get_permalink($post_id);
update_field('acf_permalink_field', $permalink, $post_id);
}