Sure. Good idea as well if you're not going to use those pins for analog is to turn off the ADC. It gets turned on by default during the Arduino build process by all those things that happen in the background. Consumes a bunch of power unnecessarily if not needed.