Yeah, it doesn't matter how you "bought" your ticket, as long as you have a ticket on a flight, and there's another open seat, you can add your companion. Someone else could have paid for your ticket with $s or points, you could have paid that way or with flight credits, gift certificates, etc
Form of payment of initial ticket doesn't matter