Displaying custom status message in Files app web UI from another Nextcloud app

Dear fellow Nextcloud devs,

I’d like to know if there is a way to display a custom status message in the main files/folder view of the Files app in the Nextcloud web UI, e. g. using a div section that the Files app itself uses for displaying status messages.
Is there an API for this use case, or - if I’d intend to do so - would it be acceptable to manipulate the view content generated from the Files app templates from JavaScript (I’m already adding new menu entries in the Files app for specific file types at runtime this way)?

Thank you very much!
With best regards,
Fabian Aichele