Changing a scenario's duration from the CLI

Yes, using k6 environment variables you can inject values in the exported options from the cli, including in scenarios: Environment variables

See Is it possible to pass vus value in k6 CLI using constant-vus executor in config.js? for an example