No, Williams was not aware of the twist that Luke and Leia were siblings when he composed their love theme in A New Hope.