You can buy directional APs if you want, but they're usually used for outdoor point-to-point links, or as sector antennas. e.g. I just installed one of these today: https://routerboard.com/RBSXTG-2HnD in a place that needed a signal far from where the AP was. Usually patch antennas (like this product) are preferred over Yagis for microwave links due to their smaller footprint, and capability of dual polarization in a single package.
Better is if your indoor AP can transceive in more of a "pancake" shape, like this: https://routerboard.com/RBOmniTikU-5HnD Note that's almost the same gain as this home-grown Yagi (7.5 dBi vs. 8.5 dBi) but with a more useful directionality.