Hi @DaniloV ,
yes, you can use the K64F in USB host mode. For the keyboard you need the USB HID Host class, check the MCUXpresso SDK examples for this. For the NFC reader it would depend what class it implements, but I guess it is a USB CDC so you can interface with it using a USB CDC host class.
I hope this helps,
Erich