I can understand that feeling of demotivation. Without knowing the other things that might be going on in your life, it sounds like you're simply overwhelmed--whether that is caused by exhaustion, rebelling against the lack of control over imposed obligations, not understanding the point of why/what you're doing in studies, being uninterested or fearful in some way, or perhaps having some other important matters that are taking your mind's and heart's attention and priorities. It could be a combination of reasons. Whatever those reasons,obviously it is causing you some distress for you to be even asking the question. Without knowing you and having more context, I'm not sure I or others can say what the underlying issues are, but here are thoughts for you to consider. It may be more simple or complex than what is here, --but meanwhile, here are some ideas from the viewpoint of psychological motivation.
A couple of others here suggested rest--either sabbatical or daily rest--I think those are both great ideas. If it's more than exhaustion, other suggestions would include taking some time to ask yourself a few basic questions, and try to be rather brutally honest in your answers to yourself/and or work with a professional you trust to help you answer these Q’s to get to the bottom of things. I know this may seem simple/obvious, but we understand that humans behave in a way that meets their highest priority needs, and we continue to act that way because it brings us some “payoff” in getting those met.
In your case, you seem to recognize that not only is the idea of the homework creating stress, but also that there is a great deal of stress being created by your avoidance of it. So ask what is the real payoff you get for not doing it? What need is being met by avoidance? It could be a combination of any of these things, or others not mentioned here—without knowing you, it is difficult to say. Use your self knowledge to see if any of these possibilities speak to you: For example, are you simply rebelling against being required to do the task—and of not having control over the choice of whether to do it and when? If yes, then it’s time to look at where you do have control in your life/over your life—and how you can adopt a perspective that allows you to see you can be in control by choosing to do your homework, and when. You may not be able to choose when as assignment is due, but you can make choices as to what time of day you will do it, in what environment you choose to study, and even smaller choices like which you will do first, etc. This will allow you to be/feel feel much more in control of your life as regards obligations that are imposed on you by others.
Another possibility may be that avoiding it relieves the stress of feeling afraid of not being able to do the work, or that if/when you do it (and do it well, on time, etc.), that in meeting your own and others’ expectation, it could bring additional pressure to continue this performance (when at times lack the personal energy enough or may not have time enough to handle those pressures to perform something you may be not interested in). It’s also possible you fear the success that that could come afterward, again, creating additional obligations and expectations.-- or there may be some issues to explore about why you might feel you do not deserve to have that success in your life. If so, those are deeply held beliefs sometimes even we ourselves are unaware exist within us, and best explored with a professional who can help guide you to resolve those conflicts.
As emotional beings, sometimes our own behavior seems irrational because it turns out to be even more self-defeating. But it is not so irrational in this respect: humans act in ways that allow their survival not only physically, but emotionally as well and allow them to cope with a stressor. You are seeking to relieve the stress that completing a required task demands, but your actions have actually added new stress. It’s true for all of us that sometimes coping behaviors cause additional problems we didn’t anticipate, and our actions (like avoiding homework) don’t bring us the result we had hoped. All of us do this, and you’re not different than any other human being in that respect. I hope this answer has helped you at least have some thoughts to consider. Also, if you are a spiritual person who finds it helpful to consider your issues from that perspective, I might also suggest you seek spiritual guidance as well in the way that you find most helpful (personally or with a trusted guide). If not, that's fine too. All the best you you, and good luck. :)
A couple of others here suggested rest--either sabbatical or daily rest--I think those are both great ideas. If it's more than exhaustion, other suggestions would include taking some time to ask yourself a few basic questions, and try to be rather brutally honest in your answers to yourself/and or work with a professional you trust to help you answer these Q’s to get to the bottom of things. I know this may seem simple/obvious, but we understand that humans behave in a way that meets their highest priority needs, and we continue to act that way because it brings us some “payoff” in getting those met.
In your case, you seem to recognize that not only is the idea of the homework creating stress, but also that there is a great deal of stress being created by your avoidance of it. So ask what is the real payoff you get for not doing it? What need is being met by avoidance? It could be a combination of any of these things, or others not mentioned here—without knowing you, it is difficult to say. Use your self knowledge to see if any of these possibilities speak to you: For example, are you simply rebelling against being required to do the task—and of not having control over the choice of whether to do it and when? If yes, then it’s time to look at where you do have control in your life/over your life—and how you can adopt a perspective that allows you to see you can be in control by choosing to do your homework, and when. You may not be able to choose when as assignment is due, but you can make choices as to what time of day you will do it, in what environment you choose to study, and even smaller choices like which you will do first, etc. This will allow you to be/feel feel much more in control of your life as regards obligations that are imposed on you by others.
Another possibility may be that avoiding it relieves the stress of feeling afraid of not being able to do the work, or that if/when you do it (and do it well, on time, etc.), that in meeting your own and others’ expectation, it could bring additional pressure to continue this performance (when at times lack the personal energy enough or may not have time enough to handle those pressures to perform something you may be not interested in). It’s also possible you fear the success that that could come afterward, again, creating additional obligations and expectations.-- or there may be some issues to explore about why you might feel you do not deserve to have that success in your life. If so, those are deeply held beliefs sometimes even we ourselves are unaware exist within us, and best explored with a professional who can help guide you to resolve those conflicts.
As emotional beings, sometimes our own behavior seems irrational because it turns out to be even more self-defeating. But it is not so irrational in this respect: humans act in ways that allow their survival not only physically, but emotionally as well and allow them to cope with a stressor. You are seeking to relieve the stress that completing a required task demands, but your actions have actually added new stress. It’s true for all of us that sometimes coping behaviors cause additional problems we didn’t anticipate, and our actions (like avoiding homework) don’t bring us the result we had hoped. All of us do this, and you’re not different than any other human being in that respect. I hope this answer has helped you at least have some thoughts to consider. Also, if you are a spiritual person who finds it helpful to consider your issues from that perspective, I might also suggest you seek spiritual guidance as well in the way that you find most helpful (personally or with a trusted guide). If not, that's fine too. All the best you you, and good luck. :)