You mean from bulb to LED?
I doubt its as simple as just re-wiring.
E46 lights use Pulse Width Modulated signals to control the brightness (to do things like variable brake light brightness "brake froce display").
It would be very easy for the lighting control module to run the LEDS directly.
Alex