Pick a switch footprint and add diode footprint to it, save as new footprint.
Keyboards are rarely fully grid-like, so you have to take into account that there is a row/column shift. Modern keyboards have features like per-key RGB and hotswap sockets, which eat up a lot of valuable space. And then you also have to fit half a dozen traces in between two switches for the key matrix connectivity.
An approach like that might work for a trivial macropad, but it quickly falls apart on a full-size keyboard.
> And then you also have to fit half a dozen traces in between two switches for the key matrix connectivity.
...I guess you never designed a PCB? there is loads of space on keyboard sized design.
It takes an evening or two to manually route a big battleship board, when you're not worried about RGB or having to do clever stuff with USB.