I read about a Mitsubishi home gas cogeneration system many years ago (10 ish). I think they haven’t taken off because they are expensive, only suitable in certain climates, and significantly less efficient at producing electricity from gas than a recent model combined cycle gas power plant.