Given the know how and the proper tools, that would be a fairly easy repair. Given a bit of creativity, the wrong tools and a bit of luck, you just might achieve reasonable success - but don't expect too much if you don't know what you are doing.
Stays Straightener...
And think about it. What's the worst that can happen by trying? If anything, the stay would at least be less bent.
Know also that you might want to further inspect and possibly repair any other frame related problems that might have resulted from the bent stay. Have a look at
Frame Preparation and see if anything comes to mind for your repair.
If there are any cracks, disregard all of the above. If the tubing is aluminum, forget it.