Yes, I think that should be possible.
You would need to attach to / update the correct parts of the clients.
For the web client you do this by adding some javascript to a custom.js: How to made plug-in for Tryton SAO?
For the desktop client you can add a plugin to into the plugins directory (there is a translation plugin example in the tryton source code).
You would also need to define the new widget in trytond so it could be used in the views, something along the lines of Add document widget (#10173) · Issues · Tryton / Tryton · GitLab.