Is it illegal to videotape someone doing drugs in their home?

It is illegal to video anything in someone's home without their knowledge and permission, unless you have court authority, such as with a warrant.