No. Using garlic or onion while preparing food for prasad during Chhath Puja is strictly prohibited.