Is it possible to wire up a battery-powered toy to run on direct power?

I have a cool space ship toy that lights up.  Instead of eating through batteries, I was wondering if there was a way to let it draw power from a wall outlet.  Are there adapters or something?  Does the kind of battery make a difference?  My model uses three triple-A's, it's an Enterprise-D model from Art Asylum.

Picture of Is it possible to wire up a battery-powered toy to run on direct power?
Stop me if you've already seen this one:
https://www.instructables.com/id/Add-an-AC-adapter-to-a-battery-powered-device/
The toy linked in the 'ible linked above also used 3 x 1.5 V cells = 4.5 V DC nominal.

Pulsar (author)  Jack A Lopez7 years ago
That looks to be just what I need, great find.  I guess I didn't search quite well enough.  Thanks!
kelseymh7 years ago
Thanks to Jack for helping me avoid spam :-)
MJCino7 years ago
I know what you mean, but I think battery power may be more aptly considered direct power than wall power.  The battery provides DC or direct current, whereas your wall outlet provides AC, or alternating current. 

On the other hand, you want to connect your toy directly to the wall...