I think a wooden fence is limited to a maximum height of 6 ft. You can have a hedge or a brick /stone fence as high as you like. Wood fence panels are 6ft.
^ Yes trellis would work. I was talking about a solid wood fence.
I think the height restriction is because any higher and the wind load could snap the fence posts .