Sure. It will look a little weird, as I'll have to use an extended set for the connector to clear the potentiometer housing. It will function fine, though.
I'm going to do a revised version, I think. I want to rotate that header 90° to fix that issue. I also want to shed that mechanical relay...