New slide in oven install
No, don't screw with the appliance, you'll kill your warranty when they send out a repairman...very likely with appliances today.
Your best approach would be to put an elbow on the gas line and send the line along the wall rather than straight out of it. If there isn't currently a shut-off valve behind the oven, then install one...unless the shut-off elsewhere is VERY easily accessible and ALWAYS clear.