This is phone dependent, and to a lesser extent carrier dependent.
Many newer, higher level phones can do this.
As Billco mentioned a travel router will work in your cabin.
But, if you wander about the ship, with a single account, and your phone connected to wifi...
Your travel router will be disconnected.