Hi dancer! Yes, you can place a soundbar on top of a cabinet above the TV, even if the cabinet is about 5 ft tall. However, this placement isn’t ideal for the best sound quality. When a soundbar is mounted that high, dialogue may seem like it’s coming from above the screen, and any up-firing Atmos speakers may not perform as effectively.
For optimal results, position the soundbar as close to ear level as possible, typically on the TV cabinet or mounted directly below the TV. If it must be placed above the TV, keep it unobstructed, avoid enclosing it inside a cabinet, and angle it slightly downward toward the seating area to improve clarity.
~ Samsung Solutions