Generally, yes, you will still be able to earn frequent flyer miles on flights booked through an online travel agency. However, miles earned to qualify for elite status may be not be awarded unless you book directly through the airline’s website.