The most proper and above-board way to make such bookings is when the account holder either makes the booking in the other guest's name directly, or, upon completing the reservation, reaches out to the hotel to modify the primary guest's name on the booking from their own name to the name of the actual guest.