No, iOS prevents the application from directly accessing files without the user’s permission. The user can choose to allow access granularly to a file via the file picker within the app.
There are also separate permissions to allow apps to read and write from the media library.
There are also separate permissions to allow apps to read and write from the media library.