CRO mainly focuses on improving user experience and conversions. As long as the optimizations follow best practices and don’t violate search engine guidelines, your website’s ranking should not be negatively affected.