Wiring keypad in cube instead of matrix

Yes, the simplest Charlieplex is two back to back diodes. So, 2 LEDs on 2 wires.