Yes, I created soundtracks for units. In the animations, file paths to the sound files are specified. You can create a copy of a sound file (xdb), rename it, move it to another location, and then add it to the animation.
The xdb file itself is just a text file with settings. The most important thing is the UID written in it, which is essentially the name of the actual sound file located in the bin\Sound\... folder.
Just take your sound file and rename it to something like 30102022-0000-0000-0000-000000000001, put it in bin/sound..., and then add it to the xdb.