Yes it is possible, example Creo 4 part enclosed for review.
If you are using a pattern to control the hash marks in the model then you should be able to use a relation to generate the text associated with each pattern member that has text attached. It will take me a lot of words to go through it so hopefully you can reverse engineer it from the example model. Pay attention to the feature names for some guidance.
This example is not the only way to do it but it is pretty straight forward and seems to be robust. With this method it will increment your hash text based on a feature relation that was created in "PNT7" this feature exists only to define the feature relation that will be used to increment the text values in the pattern. The group pattern of type dimension controls the hash spacing.
You can not start at zero using this relation as it strips all leading/trailing zeros from the parameter value. So you will see increments every 10 mm as it regenerates. To see how it works, change the linear dimension for "pnt_hash_marks" (feature #12) to 3 for example and regen the model you should see the text update. See the video for details.
The key point is to use the parameter defined in the feature relation of "PNT7" for each text value in the pattern.
Feature parameter is driving the incremented text