To a point, but you can also create a negative stigma associated with the activity through conditioning using this sort of consequential-based motivation unfortunately.
Sometimes when you do something out of fear of a negative consequence it ends up becoming an activity that, while you might become more proficient at it, you might also grow to dislike the activity. (How many children were forced to learn a musical instrument by their parents and as a result hate it)