This is called eustress. The term was described by Hans Selye, which implies a beneficial level of psychological stress. This stress helps to nourish the feeling of fullness, fulfillment of positive goals or feelings. It
is perceived as a factor of motivation or energy that allows the
achievement of objectives, for which their perception is positive and
beneficial.
I hope my answer can help you.