How To Make an Oscillator For AM Radio with Arduino UNO R3?

It is possible to program a timer to toggle an output pin at around 1 MHz. Study the MCU data sheet, timer section, for the details.

What does PWM have to do with your project?