Yes
During World War 2, it is reported that over 2,000 variants of Japanese Submarines were used during World War 2. Out of this, it is estimated that 10,000s were likely to be used during WW2.
Wolfpack
Underseaboats.U-boats
326
Both sides, the Allies and the Axis, had submarines when WW2 started.
The British lost 76 submarines during WWII.
Underseaboats.U-boats
52
9
759
They were used extensively throughout the war - from beginning to end.
Germany called there submarines U boats