Only in movies
I am no sub expert but I remember reading somewhere one can't (perhaps "shouldn't") even open the torpedo hatches while cruising at high speed - so if my unknown source is right, you simply cannot attack at flank speed under no circumstance.
BTW I too hope someone who has read uboat books can clarify this with solid references...