Yes. You could change the icon in whatever method you use to draw it.
If the window only ever draws items with a modified icon, you may need to only change the draw_item_name method. If the window draws some items with the normal icon as well, then you'll need to modify the method which draws the modified icons directly.