The voltage requirement is likely the same as what the batteries would provide. If you can figure out the polarity, then there is no reason you couldn't cobble something up.
Note that some flashes may not isolate the batteries from the eliminator terminals. So if you have non-rechargable batteries in it, you might want to remove them.