Yes. You can trade either through the DS's local wireless connection or over the Nintendo Wi-Fi Connection, so friend codes aren't required for the in-person method.