It can be but this one's kind of unrealistic. When you sleep walk, a lot of its muscle memory. Dan already knows the apartment layout so him not knowing subconsciously the balcony there is whats not realistic. But if he was unfamiliar with his surroundings it would be a real risk
That's a really dangerous sleepwalking, is it actually possible to be that bad?