Yes that is fine. It is not what you said in the first post however, you are not using an interrupt as such you are just using those interrupt pins to remove the Arduino from sleep mode.
This is not a complete program and the detail of the wake up pins need sorting.