Bones from skeletal -> sockets?


I am importing a fbx with a bones (animation) and dummies named “socket_###”. I would like to use these sockets to put there particles generators, …
The problem is that the dummies are imported as bones and I have to attach a socket to each of these bones. Right now I do it with right-click + “add socket” in the editor.

Is there a method to process all theses bones named “socket_” automatically without having to add each socket by hand ? (with every assets of the game, that would be tedious…)

Thanks for any advice