Yes. Definitely! One day we will have robots that start by tiny building blocks with a very tiny string of code. This code will tell it how to grow and what it becomes. It will also build the basics of its mind that robots today have to simply respond to things as it is programmed to do. But this code will just be the ground work, it will be able to learn and override its original code.
You know... the same way humans work.
that sounds like a dream i had once. except it had to do with architecture and self perpetuating geometry instead of intelligence. trripy!