So, basically what you need to do is import the image into the media library https://codex.wordpress.org/Function_Reference/wp_insert_attachment
This will return the attachment ID and then you use the attachment ID when updating the image field.
As far as the first part goes, I don’t know how you’d accomplish that when importing from a csv.