Yes HS. That's exactly the answer I've found on other sites.
The name Tank top, recorded in English since 1968, derives from its resemblance to a tank suit, a style of one-piece women's swimsuit with shoulder straps, so called since the 1920s, because it was worn in a "swimming tank".