If I wanted to express habitual action in the first example, I would add a phrase like "all the time": You don't need to be making yourself sick all the time.
I wouldn't use this structure to express habitual action in the second sentence. Instead, I'd use this: I'm always supposed to do my homework. Or: I always have to do my homework. My parents never give me a break.