This would be a nice feature!
The easiest workaround:
Make the script put their output into a subdirectory of that user and let nextcloud scan this directory with the occ-command as detailed here with the files:scan
option and do not forget to add the path
variable and let the www-user execute this command. It is needed for this.