In engineering and construction you can do anything, it all comes down to money.
But in your scenario, and you are literally talking a few feet, this shouldn't be more involved than excavating around the box, enlarging the opening in the box a bit, scooching it over, cutting the pipe, and bricking up around the pipe.
Now depending on your road grade, getting the hood to match the curb could be a little more involved.