Can I create a fake keyboard using an Atmega chip
This is possible with a MCU. Look for one that is capable of more than USB-Serial, but can support the USB-HID Class (Human Interface Device Class) natively. Many manufacturers have example code for this.