Yes, it is very easy.
Basically, make the teacher event like this:
Control Variables:[XXX:Steps] = Other: Steps Taken
Conditional Branch: Variable [XXX:Steps] >= 7000 (limit you want it to be equal to)
<The event when you learn the skill>
Else
Text: You are not ready yet
Branch END