So is it possible in early war to force an escort to waste their charges in deep waters, making noises, then get back to periscope depth and let them feel the taste of torps ?

I think making noises in deep waters can let destroyers hear you, but prevent from the use of sonar to get depth and bearing right ?
Yeah i know it sounds wild a little, but I can't help myself with not thinking on how to fool escorts