Edit metadata via Module Installer

Hi,
I’m looking if there is a way to be able to edit module metadata via Module Installer (manifest.php).
Specifically I should add an entry to the array
$viewdefs['Accounts']['DetailView']['templateMeta']['includes']
in custom/Accounts/metadata/detailviewdefs.php to load a javascript file.
I need to do this from manifest.php because I’m making an installable package.
Checking the Extension Framework specs it looks like it’s not possible… I wouldn’t know where to look.

Thanks