I'm fairly certain that it's possible, but don't get your hopes up about being sent a complete tutorial of it (that would make it too easy!). What could be more useful is putting together ideas on how you could make it, rather than asking for a complete technique - you'll need to think about the level of detail you want cities to be built at, what "tiles" the user should be able to lay down and how they should interact with each other. Also bear in mind that you'll most likely need some way to save a city in progress.
Wasn't there already a city building game made? Or is it in progress? I KNOW ive seen it somewhere before.
But a city game, depending on how complex you want to make it will require stuff like arrays and lists. So its probably a good idea to get used to tose data structures first.