Yes, you can chop onions in a food processor. A food processor can chop a wide range of vegetables. However, the pieces won’t be uniform unless you use a more powerful processor with better blades. Plus, you should avoid overprocessing some vegetables to preserve flavor, which is where a pulse setting comes in handy.