Webviewer and uploading image problem

peace up.. i wanted to ask about an idea
webviewer can not upload image .. i don't have an idea about the structure of webviewer and i have no experience with coding and scripting ,but , could it be a way to upload image through:
1- when clicking upload image in a page in webviewer calling the image picker
2-after choosing an image send it to(my be tag it) sotrage in tinyDB1
3- webviewer take the tagged image to the page and upload it

i don't know if the idea is possible or not but