I would not but only because of concerns as to what the motor current draw is and how much current can be drawn on they pin also if this is a small brush type motor the noise it would put in the system. I am not saying it won't work. If this is a 5 volt motor with a low current draw it will likely work. Since I have not read every post and if the motor specs were covered I don't know them, sorry. Anyway will it work? Likely if the motor has the right specs. Will I suggest doing it? No, but only for the reasons stated.
Ron
Here's the link to the motors I use:
Cylewet 2Pcs Gear Motor Dual Shaft for Smart Car Robot Arduino (Pack of 2) CYT1037 https://www.amazon.com/dp/B01N9MS3UZ/ref=cm_sw_r_cp_apa_i_KyQCEbXSND0RP