I don't know about turning sound on automatically when OSS is installed, but you could turn it on right before starting Opera by using
sudo soundon
in your script (drop the sudo if your script is running as root).
This is what the menu option "Sound ON" does, according to /usr/local/tce.menu/OSS