http://MacOSXHints.com has some info on using LAME with iTunes. Overall iTunes seems to be a decent ripper and encoder already, but I haven't done any direct compairsons.