Limit iOS's app access to sound output
There is no way to do this in the Settings and I am sure this is no app to do this without a jailbreak. Some apps offer an option to turn off sounds in Settings, but if there aren’t any options there is no way to go around it.