This is really cool (and needed for AOSP based projects like MIUI and such to come to this platform)
Most of this work is already done by the CM7 devs. It would be much easier to wait the little bit of time before they unlock nightlies for us and use their code for a pure AOSP build/source tree in order to make MIUI and such happen.
Just saying. If you want, GO FOR IT!
If you wait, someone else is already doing it.