Custom app to change core frappe files

Is it possible for a custom app to change core frappe files upon installation of the app (not just the doctype js files as mentioned in the link below)? If so, what is the method to do so? Is there a call in the hooks.py file that can modify any given file?

Continuing the discussion from How to add custom script files in custom app?: