Very, very good idea. Personally I do the same thing, create small games with certain mechanics, and gradually introduce that into main project.
Also a good idea is making some small game like simple bird's-eye view shooter and gradually expand it with new elements. Starting from the big, advanced projects is pointless, because without the experience, you will always be faced problems that will discourage you to continue your project and finish them.