Can I book a ticket for someone else?

Sure, just enter the name of the passenger during the booking process.