Yes, it is said that there is a kind of sunglasses that can do this. They can provide electric energy for iphone. I just saw this online. They are Self-Energy Converting Sunglasses. You can have a look on the internet.
They are shama shades. And they are designed by Sayalee Kaluskar. There are two pieces of solar panels in the arms of the shama shades. So they can transform solar energy into electric energy. Then the arms can be used as batteries. Hope this helped!