Yes, the Flo by Moen Smart Water Shutoff can be installed in a vertical (or horizontal) position. There are markings (arrows) on the device that indicate the direction that the water supply should be flowing into the home.
Please contact Flo Support if you need assistance.