It's certainly possible for a star system to be stripped away if its galaxy interacts gravitationally with a second galaxy. Tidal forces between the two can disrupt stellar orbits and form tidal tails and other possibly transient structures. This won't happen on human timescales - no satellite galaxies are anywhere close enough to us to pose a threat - but in several billion years, the Milky Way will collide with Andromeda in a process that will completely disrupt the structures of both galaxies.
It's been suggested that the Solar System may be stripped from its present galactic orbit during the collision. Cox & Loeb 2008 suggested that there is a 12% chance that we will be swept into a tidal tail >20 kpc from the center of the merger remnant, and a >50% chance that we will end up >30 kpc from the center, will in the outer halo - compare both of these with our current distance of ~8 kpc from the galactic center. Andromeda could even strip us away on its first pass at the Milky Way, though the authors regard this as unlikely.
All of these outcomes, of course, do still end with the Solar System being bound to the remnant. It's certainly true that we could be ejected from the system entirely, but that probability appears low compared the odds that we will simply move into a comparatively wide halo orbit.
If you regard the scenario where we're temporary bound to Andromeda as leaving the galaxy, then yes, that's indeed a possibility. Unfortunately (or fortunately?), we will soon coalesce once again with the Milky Way on timescales of ~1-2 billion years.
As an aside: There are other ways for a star to be ejected from a galaxy. One of the more common involves an encounter with a supermassive black hole. If a binary star approaches the black hole, the resulting three-body encounter will disrupt the system; one star may be captured by the black hole, while the other may be ejected at speeds greater than the galactic escape velocity. We know of several dozen of these so-called hypervelocity stars, including US 708 and S5-HVS1.