Absolutely. Without onion and garlic pulao tastes delicious and tasty. You could add a tiny pinch of asafoetida while frying spices to mimic the garlic taste.