yes,
connnecting it to a 12 V DC adapter or PS will work. Just remember that DC voltage is polarity selective unlike AC. Must have pos to pos, neg to neg.