Yes, a dead body could transmit COVID-19, but the risk is low

The CDC says there is currently no known risk associated with being in the same room at a funeral service with the body of someone who died of COVID-19.