Yes, in most cases. It is entirely possible and usually straightforward.
Platforms like Steam let one account install its library on multiple machines, though generally only one session can run at a time. Always check the specific store's or publisher's terms, since a minority of titles cap activations, and some older disc-based games do restrict installs.