Certainly yes, Robot called Root has been developed that can teach how to code.
It is admitted that learning coding is difficult, but the Root Robot has made coding more easier.
Researchers at Harvards Wyss Institute have designed a Root, a robot which brings coding to life.

Researchers at Harvards Wyss Institute for Biologically Inspired Engineering are behind the invention of robot called Root.
Research Associate at the institute said Right now, coding is taught at a computer keyboard.
Its an abstract process that doesnt have a relationship to the real world.

What Root does is bring coding to life in an extremely fun and approachable way.
Kids with no experience in coding can be programming robots in a matter of minutes.
Root is a little chunky robot, with scanners at its bottom, touch interface on its top.

Root possesses a marker at the center which can draw on a whiteboard and even erase it.
Were in the digital world, but schools dont teach coding.
It will be programmed through tablet interface called Square.
It will possess light and colour sensors, touch surface and bumpers.
If successful, Root could motivate the young children to enter the coding world.