Yes, it's utterly sadistic and inhumane to do this because there is no way that they can truly measure brain activity.
Someone could be paralysed and incapable of speech or any kind of movement and kept alive on a machine, yet be in a state of horrifying panic and wanting desperately to die, yet such panic brain activity may not register on the monitors.
It's too terrible to think about.