That sounds good.
I don't know the extent of your knowledge on development, but I would recommend making a custom rom before you try and build from code.
With a custom rom you'll learn most of the basics like decompile/compile, xml editing, and writing updater scripts just to name a few.
And yes I agree, you have some long nights ahead of you lol.