Problem with nodemcu 3.0 esp8266 and keypad 3x4

Yes sure you can. I suggest a SX1509 because this IO-expander has a onboard keyboard engine. This means all the details about switching HIGH/LOW for scanning the keyboard is done chip-internally.

best regards Stefan