It's definitely possible for a single type of tool or ones specifically coded (e.g. spear hangs on your back, gun by your side) but it would be hard to make one that adjusts for every type of weapon and would take up new datablocks. (every type of paint can is technically a weapon...)
What's the point?