Sure - you can create custom entities and one of those custom entities could be a key-value pair. For example, we often use a powerobjects_config entity. This entity has two attributes: name and value. We use this to store all kinds of key value pairs used in our various tools.
Alex Fagundes -
www.PowerObjects.com