Yes, you can. Since rent is paid to owners, the property must be owned by your grand parents. It may be owned by one or both of your grand parents. Remember that you cannot be an owner or co-owner of this property.You can do this by transferring rent to their bank account or pay via cheque. This way you will be able to support your HRA claim properly
Usually employers ask for a copy of rent agreement for their records. They can also request for rent receipts to allow you HRA exemption. You can enter into a simple rent agreement with your grand parents. You can prepare rent receipts also.
Just ensure that you have a proper rent agreement in place and the rent is paid via banking channels. These will help you to claim HRA. Since you want to pay rent to your grandmother, I am assuming that she is the owner of the property. If its a joint property, my suggestion is to divide the rent and pay to all the owners in the proportion in which they own the property.