charlieboi:
Is this a viable option?
Short answer: No
Medium answer: No, and will damage Arduino
Long answer: No. The digital pins are unlikely to be able to supply enough current. Maximum recommended is about 20mA per pin, with 40 as absolute max. And an inductive load like a motor needs a flyback diode. To have both directions, you would need two diodes of opposite polarity, and then of course one will be a dead short in each direction.