I love the idea.
I see two problems though. The biggest one is that hardware vendors are starting to add cryptographic signatures to their firmware upgrade process.
And another problem is that the hardware often has very limited memory, which makes it impractical for many things.