It's okay to leave your Switch in the dock to ensure that it's fully charged. As with all devices, once the Switch reaches a full charge, it's best to remove it, so you don't damage the battery. But, if you leave it on the dock to charge and remove it as you can, it's okay.