I suppose that turning off the motors at depth should be ok, but I understand that if you do this whilst under attack, the hunting surface ships will blow you out of the water with ease not possible in real life...
Sometimes I'll stop everything at 50m in my assigned patrol grid when the visibility's bad in order to listen with hydrophones for contacts whilst also saving fuel.