Is it possible to create items with dynamic attribute values

Normally the attribute name are associated with the template and values predefined and attached to each item.
Is it possible to associate attribute values like length, width, height, etc… during sales/purchase transaction. useful in cases where these values are dynamic.