@ETpro On the trip, yes. On the braking and splashdown, it gets tricky. Limitations could require that only a small quantity of gold be shipped back or else be lost to the depths of the ocean – maybe target a lake? – depending on how much of what kind of container you could finagle. You’d have to re-shield the containers and ship them back, too, which will continue to be expensive and uphill.
Really, one needs more info before he could say one way or the other.
There’s also the matter of powering the thing. Heinlein’s grain catapult was powered by a nuclear reactor, but that was part of a decades-long project focused on permanently inhabiting the Moon. There would have to be a heck of a lot of gold, selling ad darn good prices, to make the operation worthwhile.