"Had to" usually implies coercion of a sort. Like you might say "in PE class we had to stand on one leg for 10 minutes".
"If I wanted the outcome I was aiming for I had to.... (workout?)" This is how I took the sentence. A totally volitionally accepted responsibility