Yes, but it grows too slowly
You can buy different tree sizes for that.
Thoughts on hedge plants:
You can set different priorities for hedge plants: privacy screening, appearance, usefulness for the microclimate (it’s simply much more pleasant near hedges in hot summers), usefulness for fauna (protection for butterflies, bees...) yield (fruits, edibles), required width, maintenance effort, drought resistance...
The species I mention can all be planted relatively narrowly; the red beech is definitely the most beautiful but requires 1-1.2m width and takes up twice as much space as the variants that can be pruned most narrowly.
The evergreen dense hedge plants that thrive here have little to no added value for nature. Cherry laurel is equivalent to a desert from the perspective of native species. The glossy photinia is only slightly better. The yew scores best, offering only a small amount of pollen and hardly any food, but it provides protection for nesting and shelter. Many avoid yew because its parts (except for the red berry coating) are poisonous and parents fear that their children might eat them. Yew can be kept nicely narrow. Privet would also work, but it is not very competitive against other species and thus requires somewhat more maintenance, especially during the initial period. However, privet can be very well combined with hedge-suitable ornamental plants that bloom in color, such as weigela, forsythia, or butterfly bush.
Besides red beech (my favorite), the drought maple is also a perfect choice for people who want privacy screening combined with a nice appearance and a contribution to nature conservation and microclimate protection. I wouldn’t prune it narrower than 80 cm. The only disadvantage: if you don’t prune regularly, the plants become more tree-like. Hornbeam is also a good choice, can be pruned narrower than red beech, but doesn’t have its beautiful color.
If density is not the main priority but a certain level of privacy should be created and appearance and usefulness count, then the combination of espaliered hedge apple with currant is a wonderful combination often found in the gardens of our Benelux neighbors.
Additionally: cherry laurel "technically" has the best conditions, grows quickly, remains dense, is drought-resistant – but is so useless for nature that it is classified as an invasive species. Switzerland banned planting cherry laurel in 2024, and cherry laurel is increasingly prohibited in municipal regulations. I advise against it.