Not sure if you are aware, but an Interdictor class star destoryer stops ships from jumping to Hyperspace by setting up a Gravity Well. As such, they used its weapon against it by being able to drop higher explosive gravity munitions directly on the gravity generator - it pulled their bombs in to it.
The Interdictor-class Star Destroyer, also known as the Interdictor-class heavy cruiser, was an Interdictor vessel and used by the Galactic Empire that was capable of emitting an interdiction field to pull passing ships out of hyperspace or prevent them from going to lightspeed. Despite being a...
starwars.fandom.com
The way they threw bodies at the problem was the stupid part.
Further to that, momentum does not decrease in a vaccume, just as a Stuka Dive Bomber used gravity to pin-point drop it's bombs on a target in the gravityless depths of space letting a MOAB go and just drift into a target will be just as devastating as launching a torpedo, as long as it isn't intercepted. Depending on how fast the ship dropping the bomb is, you might be able to get a bomb to fly faster than an equivalent sized torp and it's a valid assumption to say a same sized bomb is going to have more explosive force than a Torpedo considering it doesn't have any wasted space in it for propulsion.
And finally, gravity bombs will work in atmosphere and space, although launched in different ways one using gravity and one using momentum. A traditional torpedo will only ever work under water and I would not be surprised if the space version was the same for space, if launched in atmosphere that's going to veer waaaay off course without some specific atmospheric amendments, at which point you have an unguided missile (or rocket), not a torpedo.
I'd say get an SRV to pull a MOAB in space or atmosphere and you've got a very unsuspecting launch vehicle for one of the most powerful munitions due to be in the game.
I'm gonna pull the gas refinement storage tanks off my Starfarer and put 6x MOAB there, assuming they are the same size as the tanks, maybe even more if they are smaller. That's why my 'Farer is called
The Murderer's Child.