Can I upload image or a file to wkwebview input field programmatically?

I have web app where users can pick an image and upload and do stuff with it. I am building an iOS app that opens my web app inside

WKWebView
. currently users can pick an image and upload it on the iOS app. But I want to implement feature that would allow users edit the picture. I know how to implement editing picture but I am not sure if I can upload file to
<input/>
field on
WKWebView
programmatically.