Suppose we have a very advanced spaceship that (aside from colliding with planets or entering a blackhole) is indestructable, and can go very fast, but is incapable of moving at lightspeed on it's own.
Under these circumstances is it theoretically possible to accelerate the ship to light speed using the gravity well of a massive entity?
For example, if the ship perhaps entered Jupiter's gravity well, and attempted to revolve around Jupiter x amount of times, is it possible to use that force to "slingshot" away from the planet at lightspeed?
What would likely be the most time efficient entity to use in this way considering the nearest black hole is 6,070 light years away? Roughly how long might this take?