I installed immich on a rasperry pi 4 with docker a few days ago. Works quite well. The context search option really impressed me. I didn't expect it to work at all on a pi.
Not sure about the gamification aspect, as I haven't used it myself in a while, but Babbel might be an alternative. Headquaters are in Berlin, Germany.
https://en.m.wikipedia.org/wiki/Babbel