You don't need an sdk to set up flathub.
I don't use Ubuntu but reviewing the commands on the flatpak website they seem pretty straightforward.
https://flatpak.org/setup/Ubuntu
From there you should be able to install Kega from the Kega listing by clicking the install button.
I did this the other day, can confirm no issues by following wchill's guide to install the patch.