Yes, for most people. Beans, lentils, tofu, oats, seeds and fortified cereals all contain iron. The catch is that the iron in plants (called non-haem iron) is absorbed less well than the haem iron in meat, so plant-based eaters need to think about it a little more.
Iron carries oxygen around your body. Too little over a long time can lead to iron-deficiency anaemia, which feels like constant tiredness. That is a job for a doctor, not a diet app, so this guide is about everyday eating.
The European Food Safety Authority sets a reference intake of 11 mg a day for men and for women after the menopause, and 16 mg for women who still have periods. The UK's NHS uses 8.7 mg and 14.8 mg. The numbers differ because the bodies make different assumptions about how much gets absorbed.
The US National Institutes of Health notes that absorption is roughly 14–18% on a mixed diet and 5–12% on a vegetarian one, and that vegetarians may need up to 1.8 times as much iron as meat eaters. That is an estimate, and the evidence is mixed: the body also adapts, absorbing more when stores run low.
Iron from plants is absorbed less well, but what you eat it with changes the picture.
Helps: vitamin C in the same meal (a squeeze of lemon on lentils, peppers with tofu), and cooking, soaking or sprouting beans and grains, which reduces phytates (natural compounds in grains and beans that bind iron).
Gets in the way: tea and coffee drunk with a meal, and large amounts of calcium at the same time as an iron-rich meal. The effects are real but modest in a varied diet, and the NIH notes they matter less for most people with a typical Western-style diet.
Spinach is a good example of a gap between the label and the body: it looks iron-rich, but its oxalates and polyphenols make that iron hard to absorb. Beans, lentils and tofu are the better everyday bets.
This is general information, not medical advice. If you are often very tired, have heavy periods, are pregnant or breastfeeding, have a gut condition, or take medication, talk to a doctor or registered dietitian. They can check your iron with a blood test. Please do not start iron supplements on your own: the NHS notes that doses above about 17 mg a day can cause side effects, and too much can be dangerous, especially for children.