That doesn't work with their current structure. Foundation can receive donations, Corporation (itself a subsidiary of the foundation) can sell products (like Mozilla VPN).
Also Mozilla Foundation didn't qualify as a public charity since it received less than 1/3rd of its revenue via donations, though I don't know if it can be considered as one now (15 years after the split).