No. On cash basis the income was never recognised, so there is nothing to write off. You simply never recorded the revenue.
Accrual businesses can, because they already took the income into account. The deduction reverses what was previously recognised.
We handle this for founders running US companies.