Yes, both legal and illegal drugs have been shown to be possible causes of sleepwalking. There have also been several cases of murders that have (allegedly) been committed while the killer was sleepwalking. While the drug shown in the film is fictional, the idea that a drug could have these side effects is not that far fetched.