Yes, you can. However, a vertical install will place less stress on the bulb base than a horizontal installation would.