Yes you can. Head to the Game Limits section in your profile to enter a limit. Note that once you have set a limit you will not be able to play until the time limit has expired.