Yes, that construction is great. That way you can set
env = "something"
In config.toml and override it in OS env.