Yeah, for MAME, N64, Amiga and a few others you can use Kaillera. NES and SNES have clients aswell (their names I can't remember right now, zsnes maybe?).
The problem with doing it with a DS is that it doesn't usually run on a PC so it would be pretty hard to implement the connection through a...