There was a cast magnesium frame available a few decades back. Brand name of Kirk, IIRC. It was a couple of pounds heavier than the steel frames of the day and apparently didn't offer any advantages to offset the weight. The only one I ever saw in person was hanging on a bike shop wall alongside an Exxon Graftek and a broken Teledyne Titan. The shop owner called it his "shrine of bad ideas".