Certainly rocks can store energy. A good example is the oil shale a type of rock.
Other people asked questions on similar topics, check out the answers they received:
Other people asked questions on various topics, and are still waiting for answer. Would be great if you can take a sec and answer them