That would depend on how the 2FA is handled, I suppose. If it's an SMS message or phone app, and the phone is a droid (or an emulated droid), it should be pretty easy (and free) to leave it hooked up to a system in debug mode and have it send the keys someplace. Likewise, if there's a desktop app for your token, it should be fairly simple. If it's an e-mail, you should be able to have the bot parse the specific format and go from there.
On the other hand, if the SecurID method relies on a key fob, you may need to get with the bank in question for an API (which is usually not free). The only other alternative to that would be to have a webcam over the fob 24/7 streaming to some secure site that the bot can OCR.
Sorry for the shotgun blast of a post - just trying to think of all the RSA methods I've seen as of late.