You can but its better to avoid frequent oiling. Oiling can worsen dandruff since the dandruff causing fungus feeds on the oil and grows further.
Next Steps
You can oil 1 hr before hair wash. If your hair feels very dry, you can go for an warm oil massage with coconut oil.
Health Tips
Use a conditioner after anti dandruff shampoo to avoid dryness and frizziness