Just because a language “can be” compiled doesn’t mean that it is compiled to fast, predictable code. There’s a good reason why most graphics code (including for Flutter) is written in C++.
But I’m not even sure you can say that any language can be compiled. For example, how would you compile languages like Forth or PostScript?