Given your new pic postings and the fact it has some green leaves, I'm not so sure it's 100% dead...
And, I only know of Bonsai through seeing it but as I thought it's not a type of plant but the method of which it is grown. According to Wikipedia: is the art of aesthetic miniaturization of trees, or of developing woody or semi-woody plants shaped as trees, by growing them in containers. Cultivation includes techniques for shaping, watering, and repotting in various styles of containers. I hold those who grow plants in this method in high regard as it is a form of art.
That being said, woody plants can sometimes recover if given the right circumstances and ALOT of time. If the plant was in fact an Azalea, it could recover. Azaleas are a flowering plant; periennal I believe. They are seen quite often here in SoCal in filtered sun areas of landscapes.
So if you want to keep it, trim all the long twig branches down until you see green (if you do which I think you will); get a pot of the same size but with drainage. Repot into new pot with a rich potting soil
; place in a location outside which receives filtered sun (maybe under another potted plant or the shade of a tree), water weekly, feed monthly and see what happens. You have nothing to lose at this point.