The short answer is: probably not. Despite many sources claiming plants are good for indoor air quality, the science doesn’t really support this. While they do remove pollution from the air, certain conditions need to be in place for them to work. The plants would have to be a tightly sealed (i.e. no air flow) room. Since increasing air flow is one of the best ways to improve indoor air quality, having no air flow is not recommended. Finally, the number of plants that would be needed for any given room would have to be so many that there would be little room left for people or their things.
In fact, when not properly cared for, plants can impact indoor quality. Watering a plant too much can cause mold growth, harming indoor air quality.
Considering the positive effect of just seeing some greenery, houseplants can still be included without impacting indoor air quality. Make sure that the plants get proper lighting and watering. Many houseplants prefer shade and low light conditions, so not having access to sunlight is not a barrier to having plants.