You can build the sound driver as a loadable module and use kerneld to automatically load and unload it.
The easiest way to enable this functionality is to load the linux KLD object ("Kernel loadable object").