Using iTunesEncode it's possible to get foobar to call iTunes to compress to AAC and automatically add the tracks to it's library. I was playing around with it yesterday and it works great (apart from duplicate files).
You can get iTunesEncode here:
http://otto.homedns.org:8888/itunes/iTunesEncode.zip