Yes, you can mount a host directory as a volume in the Docker container and edit the files using your preferred text editor on your local machine.