Yes, we have done cruises without getting off at the ports. There are limited activities during the days in port, so plan to sleep in as late as possible. Then take over the pool, spa, buffet, open bar, or Diamond lounge and treat the ship like you own it. The peons will be streaming aboard soon enough.