I don't know the answer to your question, but I am guessing it would be possible to point at the actor's inventory as a reference, instead of the usual chest for shop items. -Wouldn't that mean you could buy/sell the clothes that the actor is currently wearing? That would look weird.
My experience with Papyrus so far tells me it is rather weak, so I doubt it can be done through scripting. =/
But then again, don't take my word for it. I'm just guessing.