Custom file names while uploading images

Hi,
We want to integrate custom fields like first name, last name, business name (input fields in our form) with images while uploading images or videos from one of our knack forms for example like peter_parker.jpg etc. Kindly let me know if this can be achieved.

Looking forward to hear from you.