Yes, but you need to be able to bond glass to the alloy (note the color shift in that housekeeper's seal), and nickel alloys like kovar tend to have a really high magnetic permeability, limiting their application in experiments that need highly controlled magnetic fields.