I am not a lawyer and I don’t do this kind of work myself, but I am a little familiar with the procedures for human studies: even under those standards, I don’t think it would be illegal. The person whose behavior is being studied is the one who’s commissioned the recording. You’d have to get something in writing, but…