Does anyone know if it's possible to embark on a cruise from one of the scheduled ports on a cruise and just cruise for one or two ports and then disembark?  Obviously, there would have to be an empty cabin available.

We stay in Cabo San Lucas during the winter and would like to be able to cruise from there to mainland Mexico but there are no cruises which start in Cabo. It would be great to be able to get on the ship in Cabo and cruise to a couple of ports on the mainland and then come back to Cabo as the ship makes its way back to San Diego or LA.

Thanks for any info you might have.