Every EEPROM is basically that, and they're designed for data retention of around 100 years. I imagine it wouldn't be hard - embed two metal plates in glass?
You don't check the eeprom value by flowing current thru the cell as you do with cap
You don't check the eeprom value by flowing current thru the cell as you do with cap