Absolutely! Citrus peels and onion scraps are both great additions to your compost pile. Just be sure to chop them up into smaller pieces to help them break down faster.