I know that somebody started a project to make a program that runs old Flash games. It's called Flashpoint, and works pretty well.
There's also a Flash Player emulator written in Rust called Ruffle. It only supports ActionScript 1 and 2, not 3. It's still a bit unstable, but it definitely looks promising.