Yes. If you can no longer play, open the match page, click or tap You're attending, and confirm leaving the match.
Before leaving, contact the other players in the match chat to explain why you can't play. If the organiser has set a cancellation schedule or fees, make sure you follow those policies.
When you leave, your spot becomes available for another player to join, and you'll lose access to the match chat.