File upload as part of config flow for custom component

I am working on a custom component.

As part of the configuration for this component, the user needs to copy or upload certificates. The certificates must then be stored as files.

Is it possible to do this during config flow, and if so could someone point me towards a good example?
Thanks in advance.

Changed my plan, no longer relevant!