You can try to create a text field and enable an admin column for this field. After creating/updating the post, you can use the action hook save_post to update the post slug for the field and get the post slug via $_POST['post_name'].
Read more about action hook in the documentation https://developer.wordpress.org/reference/hooks/save_post/