If it's not a browser game or has complicated elements like animations etc, can just get the sprites, cg, music if voice acting etc, and program them in another engine, this bl game for example was ported to renpy. https://vndb.org/r125494
Hiiro kakera 4 was ported to tyranoscript.
Rejet or...