Yes, mapping could be done via steam controller settings menu. You can map every keyboard and mouse button to the various buttons, sticks and touchpads of the deck. Right now I am using mouse and keyboard, just tried it once in handheld mode.
Edit: Here a link to a video on reddit, showing some...