You can keep the bootloaders and kernel from a working image (e.g. from a FriendlyWRT or Armbian image), then chroot into the Fedora or AlmaLinux rootfs. This is how many people have run Debian or Fedora on unsupported SBCs.