Just because you can doesn't mean that you should.
Embedding a programming language's interpreter in firmware all but assures that someone out there will find ways to abuse it.
Abuse it to the point of rendering the hardware utterly inoperable.