How do I use a custom icon in panel_iframe?

I have my node-red flows in my panel using an MDI icon, but is there a way I can use a custom icon like I can with entity_picture in customize.yaml?