I would say yes, provided that you label it correctly. Just add a sentence that the conference was cancelled for health reasons. You can also say that the talk was accepted, but not delivered because ...
For some conferences the talk will be in the proceedings or follow up journal. It that case your write up will be available to people in any case. In fact, it is normal that the reach of a conference is normally wider than just the people who attend.