When picking a file from the OS on a website (eg attaching a file on Mastodon or Twitter) the android file picker is launched but once you’ve chosen a file or files all you can do is close the picker, launch the android gallery, or share to some other application.
None of the available actions seem to result in the chosen file being handed back to firefox - unless I’m missing something.