No, the 3DS cannot overcharge.
Leaving it plugged in indefinitely is safe—it simply stops drawing power.
Unplug after full charge to minimize heat and preserve battery health.