Yes, it is very good to cook these foods together as porridge, which can nourish kidney yin. You can take it but do not take it for a long time to prevent excessive nourishing of yin and hindering digestion.
Opinions and suggestions: Barley: It is good for removing dampness and wind, strengthening the spleen and stomach, and treating spleen deficiency and diarrhea. Lily: clears away heat and detoxifies, cools blood and stops bleeding, moistens the lungs and relieves cough, clears the heart and calms the mind, replenishes vital energy, clears away heat and diuresis. Lotus seeds: clear the heart, remove heat, and stop bleeding.