Which files can you override from a plugin?

You can modify components easily via PluginApi like below example

https://github.com/discourse/discourse/blob/master/plugins/discourse-narrative-bot/assets/javascripts/initializers/new-user-narrative.js.es6#L8-L13

You can modify almost any file in one way or the other. PluginApi methods are better and recommended.