well not literally. but the USS Barb (SS-220) was credited with blowing one up when a shore party was dispacted to blow up railroad tracks and got a train as a bonus.
Barb was sent to the U.S. for a yard overhaul and alterations, which included the installation of 5 in (130 mm) rocket launchers at the Captain’s request. Returning to the Pacific, she commenced her 12th and final patrol on 8 June. This patrol was conducted along the coasts of the Sea of Okhotsk. For the first time in submarine warfare, Barb successfully employed rockets, against the towns of Shari, Hokkaido; Shikuka, Kashiho; and Shiritoru on Karafuto. She also bombarded the town of Kaihyo To with her regular armament, destroying 60 percent of the town. She next landed a party of carefully selected crew members who blew up a railroad train. This is notable as the only ground combat operation that took place on the Japanese home islands.
its at the very bottom center. you can see it better in the story: http://www.bluehawksofhal-5.org/news_files/USS%20BarbSS220.htm