Can I purchase training if I use someone else’s credit card?

Absolutely.

The name on the card doesn’t have to be the same as the individual taking the course.