It is possible to add the location for motifs. The TraitBuddy addon does this to tooltips and its UI screen.
I don't think that idea fits with writs though as they are not found in specific locations.
If you want to add functionality like this to your own addon the secret is the description on the Outfit style. For example, the Motif to learn Ancient Orc Helm gives you the same Head Outfit Style. And the description on the Outfit Style says where it comes from.
Code wise its along these lines:
Lua Code:
local id = 3467
local description = GetCollectibleDescription(id)