Yes. Reference:
Further, you can even do this with Flutter-based dependencies. Just don't use flutter main().
I'm not sure where you want to run it, but you can, for example, compile for alternative platforms, such as raspberry pi.
https://github.com/ardera/flutter-pi