Turn on Touchscreen only when screen is already on

 Is it possible to have it set so the touchscreen only works when the screen is on? So use a button to turn on screen then touchscreen becomes active. I tend to accidently turn on the screen frequently by brushing against it.