These flowers are not from the same plant that provides the regular eating bananas. They're easy to grow and the whole tree can be eaten or used in cooking, we even eat the trunk too. The white center of the top of trunk is eaten, in a similar way to bamboo is eaten. We use the leaf in place of banana leaves to steam food and many other uses.
The flowers can be eaten raw, or we steam them and eat with chillie/shrimp paste, it's used in stews, and in salads, and as a side dish for pad-thai. Think of it as a more fibrous chicory (witloof/endive), it's bitter like an chicory too.