You could try using http://www.ebuddy.com/?web_messenger#yahoo with the official Opera DS web browser to see if it works. I don't use YIM so I haven't personally tried it however.
Other than that, I only know of AIM, MSN, and IRC clients for the DS, sorry.
Bookmarks