Most airlines allow this no problem. You might not get points for the second seat but buying it shouldn't be an issue. The ticket will be issued in the name LASTNAME/ExtraSeat or something like that generally.
It is likely a better idea to purchase on the phone or via a TA to make sure they understand what you're trying to do, but it shouldn't be a problem to make the purchase the way you are describing.