While you could technically install a soundbar vertically with the proper hardware, you’ll lose out on the surround sound design that mounting a soundbar horizontally provides.