This is already possible. Please see How can I use my own node symbols in yEd? for information on how to do this.