Programmable Drone kit with camera

I’m envisioning a project that demands a programmable drone equipped with a camera, and it must be adaptable because I intend to incorporate a grabbing mechanism and integrate a Raspberry Pi for computational tasks. Whether it’s a DIY kit or requires assembly from scratch, I’m open to both options.

Furthermore, I’ve come across discussions regarding stringent regulations governing self-flying drones, even when operating within the confines of one’s backyard and fenced boundaries. I’m curious about the specifics of these rules and where I could potentially conduct tests for my project without infringing upon them.