Yes, you can use if both website have the same content the it will be better to use canonical link to the duplicate website