This has been tried with much simpler organisms, it did not behave like the real thing thus far. There was a paper about it, there now seems to be a project to push on the frontier
https://openworm.org