Is it ok for a patient to take fluids and food orally at the same time when intravenous drip is being administered.

Depends on reason. Although there is no inherent danger in drinking or eating while getting IV fluids, it is important to discuss with the physician if they have another reason why one shouldn't be taking anything by mouth. Before surgery, obstruction, etc. would require a patient to be NPO (nothing by mouth). Discuss with the doctor treating you - they would know best.