Yes, If you no longer want to send or receive chat messages from someone, you can block that contact. Blocked contacts no longer receive your presence information and they see you as unavailable or offline at all times. Not all communities allow you to block contacts. Depending on your Nokia device perform the following:
In the chat contacts list:
In the Conversation view: