they did a special on that show 20/20 a while back on sleep walking. I don't think it is hereditary.. but you can do some crazy things. This one lady would eat all her food and wake up not knowing why her fridge was empty, and from personal experience my brother sleep walks and he has no clue why he does. He goes to the kitchen opens the fridge and moves stuff around, then he just stands there.. strange..