I've considered this myself, but I have a feeling that if I did the math on it, it'd turn out that I'd need an impractical number of plants to keep the air quality at an ideal level
A family of 4 can easily create over 1,000 pounds of CO2 per year. Common houseplants like Spathiphyllum can absorb about 0.8g of CO2 per day, so we can be super generous and call it 1 pound per year. So you'd need around 1,000 plants, reduced depending on ventilation and how much exhalation you do outside of home.