Yes, all tickets booked online enable earning miles. Please make sure that your frequent flier number is provided in the form while booking.