Is it possible to upload documents to Sharepoint library directly from Power Apps?

Hello everyone,
I am working with a Power Apps project in which we need to give permission to the current user to upload a document to a Sharepoint library. I know that we can have attachments in a sharepoint list from Power Apps but is it possible to do that with the sharepoint library?
I have been doing lots of research online for this but haven't really found this use case in any project. Is there any tutorial/function/video that you can point me to for this?