using atmega328P-au in Qi compliant wireless charger

I have decided to dive into the world of Qi wireless charging. I bought a cheap wireless charger and took it apart. On the inside, I expected to find a chip that was specialized for wireless charging, but I found this . Just a regular microcontroller and a whole bunch of mosfets. Now I am wondering, would it be possible to design a wireless charging circuit using an ATmega328p rather than this weird chinese one. I know there is a lot more to do with Qi wireless charging, but I am mainly curious about the microcontroller part.

would it be possible to design a wireless charging circuit using an ATmega328p rather than this weird chinese one

Yes. The used chip is comparable to an ATmega328p so it should be possible to use it as a replacement given not all IO pins are used.