Using sleep modes and interrupts from same pin

Is it possible to use a single pin for a normal interrupt (E.g. RISING) and the same pin for a wakeup interrupt from sleep?

I'm looking at having something go to sleep until a sensor value is triggered, then waking up. The sleep will be triggered by a timeout. As the sensor value cannot be predicted WHEN it will happen, I was wondering whether the same pin for the sensor (HIGH or LOW) can be used to wake from sleep.

The sensor is time-sensitive so needs to be on an interrupt.

I can't answer your question but, someone will surely ask which processor you're using.

Why do you think of different interrupts? A sleep mode is finished by an interrupt and the controller data sheet will tell which one also can wake up the controller. External and Pin Change PCINT e.g. can wake up an Uno and other ATmega controllers.

The processor is the Seeeduino Xiao, the website Seeeduino XIAO - Seeed Wiki (seeedstudio.com) doesn't say much about it other than linking here: ArduinoCore-samd/variant.cpp at master · Seeed-Studio/ArduinoCore-samd · GitHub Which I don't know what this output means.

On the page that you linked to, if you go down to the bottom of the page, you will find the link to this datasheet: https://files.seeedstudio.com/wiki/Seeeduino-XIAO/res/ATSAMD21G18A-MU-Datasheet.pdf
This is the Atmel datasheet for your mcu and should tell you everything you need to know about the sleep and interrupt capabilities for it. If you have any trouble with the code I'm sure someone here will be able to help you.