It can be done, but would require extensive work.
Add new objects to the $data_weapons and $data_armors array.
Essientially, that was the main reason for the Virtual Database script. You can duplicate a weapon and add it to the arrays easier. The possiblities are much easier to be maintained.
I might write a simple module that utializes that script, to add and shift items around. But due to the complexity, nothing is guaranteed. Eventually, you would have an extremely large save file holding all that data. Then again, you could delete any non-database item that the party no-longer posses.