Yes you can, but it needs to be used through a jabber server. I have been using it since snow leopard through ichat and am running Mountain Lion and have had no issues in Messages. Here is the link to set it up, https://www.facebook.com/sitetour/chat.php.Can you use Facebook chat through iMessage?
if so then how?
I tried that, but this: