Is it possible to detach interrupt in the function called with interrupt.

Robin2 thanks for your help, my plan was to detach interrupt after using it to wake up arduino from deep sleep and later attach interupt before putting arduino back to sleep (low power). While interrupt is detached i would use the same interrupt button for other functions.
Would using just attachInterrupt() and detachInterrupt() be good practice and should i clear interrupt flag while using this functions.