Create attachement from another url field


I have a url type field with the url of an image, and I would like to know if it is possible to create an attachment automatically with a formula to upload the image in Airtable from its url.

example :
field_image_url: “https: //coolimage.png
field_airtable_image: UPLOAD HERE

You cannot do this with only a formula field. You can convert a url to an attachment using a script or using an automation.