FTR There is a openfl build for Raspberry Pi. Didn't go into the details, but should be doable. https://lib.haxe.org/p/openfl/
In the meantime: There is also an adaption for the C64 out quite a while, infos here https://gb64.com/game.php?id=23609&d=18&h=0