Add attachments from Web Form to Linked Doctype?

Hi, I currently have a custom doctype for storing information on clients, I then made a web form linking to this doctype with all the doctypes fields present in the web form. I can now add a new client under the doctype through the web form, however, another major part of the information being stored is the clients documents that are added using the “Attachments” section on the side bar of the doctype. I would like to know if attachments can be added via the web form and once the form is submitted with all client information and attachments provided, the client is created and the attachments are visible in the attachments side bar

image