You can, but it's very difficult and it won't turn out well. You also run the risk of ruining your coffee grinder because the chickpeas might get stuck inside and dry out. If anything, use a blender or food processor instead! The reason for this is that they're designed to handle thick substances like hummus while coffee grinders aren't.