Place peanuts in a food processor; pulse to the consistency of bread crumbs. Add oats; pulse just until mixed. Add raisins and dates and process just until mixed, scraping down sides as needed. Add coconut; process thoroughly until mixture is finely chopped.
Press mixture into a round glass pie dish; refrigerate until set, 40 minutes to 1 hour. Cut into squares.