Of course this is possible @Kiara, you can wrap all the tasks in the block/rescue block. Something like this:
- block:
- name: task 1
... # something bad may happen here
- name: task N
rescue:
- assert: # we need a dummy task here to prevent our host from being failed
that: ansible_failed_task is defined