Just because someone is operating out of their subconscious mind and is unaware of what they are doing - doesn't make what they are doing right nor acceptable.
So to me, bringing awareness to how someone is making you feel is an example of setting a boundary. Ooo, I like this. No, I don't. Yes....