https://en.wikipedia.org/wiki/Thermal_radiation
Depending on the theoretical frame used it may as well be called Bremsstrahlung (free(-ish) electrons in the metal scattering into each other)
As far as I can imagine, impurities and crystal lattice defects will affect electrical properties in the first place.
Do phonons play a role? Not sure, I think electrons dominate the heat exchange in metals. One needs heat exchange in order to bring heat to the surface of the filament. You may as well think about phonons scattering electrons (in other words, the crystal lattice and the electron gas exchanging heat).
Should it be metal? Not really. But it should be at least somewhat conductive for the electricity.
Yes, any metal (and any solid substance in general) will produce light when heated in vacuum (or in any transparent media) as long as it stays solid. One needs some 750K in order to produce some faint visible light or ~3000 to look like a normal incandescent bulb.
The best material for a incandescent lamp filament will be:
- more or less conductive so it can be heated by electricity
- be absolutely reflective or transparent for non-visible electromagnetic waves and black for the visible spectrum.
- stable against decomposition, melting or evaporation at the desired temperature (equal to the desired color temperature of the lamp, for most practical purposes 3000..6000K)
Since we don't have the ideal material, we use tungsten and we try hard to make it evaporate slower, using inert gases and halogens. On the other hand, gases make bulbs less effective because they carry away some of the heat from the filament. That's why we have better or worse gases for filling the bulbs.
Other materials were used or considered in the past, like tantalum or carbonized natural filaments like cotton and wool.