While this is possible, keep in mind that the flowers last for a very short period and it's difficult to grow enough flax flowers in containers outdoors. Houseplant flax will not produce enough seeds for nutritional use.