I used to sleepwalk when I was a child. I don't now.
I do have sleep anxiety and sleep terrors from C-PTSD.
I do things in my sleep like defending myself by taking a swing at someone and end up doing some damage sometimes.
Maybe you should see a sleep specialist if this continues?
(I am glad you didn't hurt your brother.)

WC