Like everything else
We either do or do not do everything in life.
The difference is whether we control doing or not doing things or don't control them. By definition sleep walking
is involuntary. Other types of behavior done in our sleep exist that are also involuntary such as sleep talking and sitting up with night terrors