Command line install of piwik?

I would to set up piwik to install as a headless install via command line, non-interactively, by supplying the options as install arguments or by a file… is this possible?

Not automated but it’s possible to do so, piwik only needs the config/config.ini.php file and the original DB import