My guess would be, yes, you will get the points for the paid stay. After all, you are allowed to gift rooms to family members.
However, I would suspect that you will not get the last night free promo (if you have a CC credit card) because, as I understand it, the card holder must be one of the persons staying to get that benefit.
Let us know what happened in your stay with the points. @:-)