I'm thinking of installing security cameras pointing directly at a trap house to make them be quiet on weekdays
Why do you want to install a camera there?
Because they play loud music
If your neighbors are doing illegal activity and creating noise then it is a good idea to install a security camera. If it's on your property than you have every right to do it.
Yes, but I want to do it to fuck with them, not to protect myself.
Are you sure that is a good idea? If they do illegal things in that house and you are trying to disturb them on purpose then they might use violence against you. You should be careful.