If the add on would have to be enabled/installed on every new temporary file, this would prohibit this approach from being implemented.
Therefore I am thinking about deploying several scripts as web applications and using them through regular HTTP requests (with doGet/doPost). I am not sure if this would be a good approach, since it would result in a large number of scripts (you can only do one doGet per script file), but in my opinion this would be more flexible and result in a better user experience.
What I am trying to achieve is: a user clicks a link inside a website, the website requests a new temporary file from apps script (this is already working) and then it redirects to the new spreadsheet URL. This spreadsheet should already contain everything, or almost everything, that the end user needs to operate it. Is should all happen in less than 20 seconds, preferably.