What you're suggesting worked for me last year -- my wife applied for the card with my Marriott #. The bonus, the certificate and the qualifying nights were credited to my account.
That said, I'm not sure about the timing of the qualifying nights, so it's possible that those won't post before the end of the year.