Yes you can, in this case the possesive adjective and pronoun in objective case "Her" are written the same.
Give her her book
The first "her" is the indirect object (who receives the book).
The other "her" is the possesive adjective (determiner)
And in both we use the same word "her"