Oh, absolutely! This is a very good place to enforce boundaries. It's clear-cut and pretty easy to actually do something about. I was more addressing the emotions behind the response, which might affect some of how OP delivers the message and the severity with which s/he enforces it. If my roommate is mildly annoying me, for example, I'll take a breath, calmly explain the problem, and give them a couple of chances to fix it (for example, I'll be OK with dishes being done 80% of the time instead of all of the time, or something like that, if such indicates there's been progress). If my roommate is seriously upsetting me, though, and s/he knows that what they're doing is upsetting me, then I'll have much less tolerance and respond much more harshly.
Either way, I express myself and enforce my boundaries, but how I go about that varies a bit based on the perspective I can put on the situation.