Thank you for your comment.
Indeed, I didn't say that dynamically-typed languages cannot be compiled, I said are USUALLY interpreted. And of course interpreters and compilers are just tools to simplify the implementation. For example C is commonly known to be compiled but can also be interpreted. Ch is an interpreter for C. For more info, https://www.drdobbs.com/cpp/ch-a-cc-interpreter-for-script-computing/184402054
Again, Interpretation and compilation is a heated topic and a deep dive into it would require more than a short read.