Sure! Grate your onion finely if you like things smooth. Just a heads-up: fresh onions pack more punch, so adjust accordingly.