Can I earn mileage credit for some else’s activity?


No. Only the person who flies earns the miles. So, if you paid for someone’s ticket, the traveler would earn the miles.