This is possible as you would need a wind turbine that generates electricity. If you could connect this to your house rhe same way you could connect a diesel generator if there is a power cut then you could charge your phone from that. I personally wouldn’t know how to connect it though.
Would you have to carry the windmill around with you? Windmills are used to convert the energy of the wind into electricity. This electricity is then fed into the grid which means that it is distributed for use in households and businesses. That means that the electricity produced by a windmill may already be charging your phone.
It isn’t necessary to design new phones or computers to run off the electricity produced by new renewable technologies.