Well, this recipe of onion pakoda is deep-fried. I would suggest to have it in right proportion and avoid if deep-fried foods are not recommended to you. You may use air-fryer recipe of pakodas for a healthier version. That said, having deep fried occasionally is totally fine for all age groups, unless you have a specific medical condition.