I don't know, I'll test it if I get the time and edit this post with details, hopefuly someone else will know, however.
You should technicaly be able to write the item.dat to do that, however I don't know how the item.dat works, try it anyway as it can't hurt :P