No, this option is not available through web.config. It can be installed either through IIS Manager, like you, or through the command line utility AppCmd.exe, as in the example below:
%windir%\system32\inetsrv\appcmd.exe set app "Default Web Site/FirstWcfHost" /enabledProtocols:http,net.tcp
source share