Yes, you can buy tickets at Nationals Park. The Nationals website has a link to purchase them online or over the phone. If you are going to be in town and want to buy them in person, they will be available at the main box office on M Street SE near the Waterfront Metro Station.