To answer your question (I'm not interested into creating such an addon
)
Possible: Yes but difficult as one would need to track the loss of the items in all cases and I'm not sure if this would be possible. Gaining an item is possible via an event.
But: Would blow up the SavedVariables file a lot, makes zone changes, login and other reloadui's slower.