Yes, you can absolutely use other kinds of candy if you do not have access to M&M's or Oreos. For example, instead  of M&M's you could use Reese's Pieces or chopped peanut butter cups and instead of Oreos, you could use graham crackers or chocolate wafer cookies.