Yes that is possible. In your config:
[module]
[[module.mounts]]
source = "node_modules/somelibrary/dist"
target = "static/somelibrary"
You can also mount to assets
, content
etc. and you can also mount single files not just directories.
When you’re running the server, the above directories will be added to the watch list for changes.