I don't believe there's a way. The FOS and PDM images are on the CD that comes with the firewall, or can be downloaded from Cisco.
"write net" sends the configuration, but not the software.
And, just to mention it, Pix software won't work with routers.