Google’s John Mueller said when it comes to repurposing old domains that may have not been used but were being redirected elsewhere, it is fine for the most part. The only cases where it can cause SEO or Google ranking issues is if that domain was redirected or used in pure spam cases or for adult sites.