More like a submersible torpedo bomber than a real sub.
There were similar concepts in Germany during the war, but mostly around submersible hydrofoils.
But my favorite quasi-submersible is VS5.
This is only the superstructure, while the quite large cigar shaped hull was totally below the waterline.
The idea was to only have the essential parts of a boat/ship protuding above the surface in order to have less resistance.