We can tool our cabinet bottoms with specialized slots for recessed lights including pathways drilled for wires.
(Below: Cabinet bottom machined to conceal light and wiring. Light Rail Molding added to further conceal body of light.)