Advance medical directives in Quebec already cover cases like that. However, the mechanism is completely different, because the person is asking not to receive treatment.
For an advance request for medical assistance in dying, they are instead asking to receive this assistance once certain conditions have been met.