No, that is not what CSS should be used for.
The idea of CSS is precisely to be all about the presentation and not at all about the data.
What you may do, if you have to, is to have different possible values in different elements, and change by CSS which element is visible.
dataattributes aren't CSS...