Arty A7 Board question about JTAG cable
If your computer can supply enough power, then yes, that should work fine.  If you need more power, then there is a jumper that you can use to select the DC jack and you can power the board that way.  That jack also accepts 5V, so presumably you could make an adapter cable to USB if you want to use a USB power bank or USB power adapter.