On Fedora 43 and up, you can enable automatic updates via:
sudo dnf install dnf5-plugin-automatic
Now enable and start automatic updates via:
sudo systemctl enable --now dnf5-automatic.timer