In rare cases, cloaking may be used for legitimate purposes such as showing different content to users based on location or device type. However, it is important to use caution and ensure that any use of cloaking is transparent and does not violate Google's Webmaster Guidelines.