Can I build a Multiplayer Game using a VPS (Virtual Private Server)?

It is known as Cloud Computing and for example in this page you only pay for the number of hours you need the vps.

My question is, Can I build a Online Game having this?