Yes, 18V if in series theoretically.
But I would have them in parallel. Approximately 240mA total if they’re a typical 10mA or better, lower.
3 volt walwart (adapter) @ 300mA for a little head room.
The above assumes the two AA batteries are in series.