Optimally, you are probably better off trying to develop a cognitive setup that enables you to perform various actions without having to force yourself or the environment. Finding a way to activate motivation and self restraint from within that doesn't rely on force, as it will be a resistance you constantly have to face through your life and might potentially make you irritable, frustrated or so.
I have difficulty doing that. I find myself impatient and easy to irritate when faced with tasks I'd rather avoid. I have found some solutions that are semi-forced, I guess. I try to get in a mind state where I mentally prepare to do whatever I need.
Sometimes allowing yourself to think too much about how you could do something you don't want to, is a reminder you don't want to do it and it becomes more difficult because of it. There has been times in my life where I did things more easily because I combined
1. mentally prepared that tomorrow I have to do x.
and
2. got up doing x without thinking about whether I wanted to or not.
Optimally for me, developing a mindstate where I can appreciate subtleties of tasks shallowly seen as dreadful. Redirecting focus to aspect of a task that reminds me of something more positive.
A banal example: if I had a homework assignment where I had to write an essay which I hated, I could focus on something else about the task that I find more pleasurable. Like information seeking, the creativity outlet. Or something more subtle, the way my mind experiences writing, feeling the fingers run across the keyboard, observing what biases rises from reading etc.