Is it possible to create a stack by adding a label when using docker run image?

Is it possible, without using rancher-compose?

Something like running:

docker run --label io.rancher.stack=web -d nginx:latest

and have Rancher create the “web” stack if it doesn’t already exist, adding this new container to it?

As of today, this functionality does not exist. You could put an enhancement request in Github.