You have come up with an idea which most of the DIY'ers have not even thought of and also admire your interest in this project This thread will also help those who know little about about SMPS and as far as the micro controller for controlling the PWM module is concerned an AVR will be the best choice for it.

Your idea is indeed interesting for all the DIY'rs concerned with power supplies for there motor controller.