I'd assume if you were killing them with anti fire pots, prayer pots and protect from melee on your bot could handle them. Except maybe miths lol. But you could, of course, die.
I don't see it as realistic, but I assume with the right settings you might be able to slink along.
I am not aware of any script that supports Metal Dragons, however I do not know why. There are a few Frost Dragon bots, and killing Frost Dragons should be much harder then killing Metal Dragons, for a bot anyways. I'm sure that there could be one made, but generally people bot for consistent money (gold farming), and there is not that much money to be made in Metal Dragons. Other then visages which are ridiculously rare.