Pretty sure that's totally fine. We did online check-in a couple days ago and it specifically asked if I was going to be responsible for DH's charges. If not, we could have added a different card for him.
I don't have the best memory, so I don't want to guarantee I'm right, but I'm pretty darn sure.