From grok: "Most affordable housing programs base eligibility on your gross income, which includes wages, business income, interest, and sometimes capital gains. If your crypto sales are frequent and substantial enough to be considered a regular income stream, they could count toward your income for these programs. Some programs might even look at your overall assets, including unsold crypto holdings, depending on their rules. However, if the sales are occasional and not your primary livelihood, they might be treated differently—more like liquidating an asset than generating income.
The catch is that affordable housing programs vary widely by state, city, or even specific property."
Sounds like it varies