I’m pretty sure Philip K. Dick already wrote this.
“Tel Aviv University scientists have shown that it is possible to store rudimentary memories in an artificial culture of live neurons.”
http://www.jpost.com/servlet/Satellite?cid=1183459218199&pagename=JPost%2FJPArticle%2FShowFull