If the ship is docked overnight then yes. You can come and go as you please.
Sometimes the ship will leave overnight and do maneuvers offshore so they can open the casino, shops, etc., so keep that in mind. I don't know if they're doing that for your particular cruise.