Yes, aloe vera does have flowers.
According to research, the Aloe vera plant features an inflorescence, which is a cluster of flowers. This cluster can be simple or compound and can contain between 100 and 200 hermaphroditic flowers. These flowers are arranged helically on an erect stalk, roughly 90–100 cm in length, that emerges from the center of the plant.