Dolphin on Raspberry Pi 400

So, I have seen multiple videos of people using the Wii and GameCube emulator Dolphin on Gentoo, and I am wondering if this would work on Ubuntu MATE.

If so, if it can work on RetroPie as well.