Yes, this works and I do this in a few of my apps.

However, there is the issue of the two representations not actually matching.