Found this solution and it works (at least the package was installed):

sudo tee /etc/yum.repos.d/anydesk.repo << "EOF" > /dev/null
[anydesk]
name=AnyDesk Stable
baseurl=http://rpm.anydesk.com/centos/${basearch}/
gpgkey=https://keys.anydesk.com/repos/RPM-GPG-KEY
EOF
sudo rpm --import https://keys.anydesk.com/repos/RPM-GPG-KEY
sudo dnf install anydesk