In our Kubernetes helm chart, you can specify user code deployments to add new code locations, but that will still require an upgrade of your Helm release for Dagit to discover the new code locations it can talk to.
Management of the workspace through API and UI is currently only available in Dagster Cloud:
https://dagster.io/cloud