Zwift cannot control treadmill speed or incline, but some treadmills are able to change them.
If you have a treadmill that accepts user created runs, then you might be able to use GPS data to create the zwift courses, which would mean the treadmill is like a “smart” trainer.
Has anyone done this, and shared it?