It'll work fine. Only diff will be how slow the brake light will look going on and off next to the crisp immediate LED on or off of the LEDs
You can get a LED brake light 'bulb' for the OEM socket will solve that 'issue'
LED bulbs in factory filament indicator circuits do require other mods ie led flasher relay to avoid fast flash due to load requirements. Not required for brake, tail, drl or headlights