not at all hard to do, they make "reverse mount" leds, where the diode faces into the PCB: https://www.digikey.com/en/products/detail/sunled/XZMYK55W-3...
compatible with the exact same pick-and-place machines, you just need to drill a hole in the PCB