I'm certain this could be done. basically you'd need to have your alarm trigger a relay when you de-arm that would make the ACC line go hot and go off when you armed.
It's definitely possible (and has been done before). Sorry I can't give you a step-=by-step or exact details. Search the forums. I'm certain that you can find more info.