Yes, you can. Please use this command for zero downtime when switching to production mode: bin/magento magefan:zero-downtime:deploy-mode-set -m.