Yes, you can book online for anyone provided you will be one of the travelers and use your valid credit card and provide correct passenger details while booking.
Payment with a credit card for another person is alternatively possible if you choose ‘Pay at Agency’ option to make a booking online and contact the nearest Ethiopian Airlines office to complete the payment using your card.