Sure. Just wire it as a shunt motor and apply 12 V, or 24 V. You'll get a large inrush current until it comes up to speed, like in a second or so. It'll try to jump off the bench by twisting so secure it. I'd recommend measuring both field and armature current.
major