Okay, not really, because they aren’t torpedoes and this isn’t a spaceship.
On the other hand: Really! Because the US Navy just demonstrated an honest-to-god laser cannon against a boat. At-sea testing of the Maritime Laser Demonstrator showed that the solid-state high-energy laser could target and set fire to a small boat from “a safe distance”. (Don’t they have artillery for that sort of thing?)
A few more details at: Maritime laser demonstrator.