M1: Virtualization framework, run script after installing.

If I create a VM with the Virtualization framework, I would eventually get an .ipsw file. Can I edit that file, or run a script after booting a VM with Virtualization, so that I can get some things setup like Homebrew?

M1: Virtualization framework, run script after installing.
 
 
Q