Re: Article 314.22 ?
314.22 allows extension rings over flush mounted boxes, and there is nothing stated an extension ring cannot be fabricated. The one time I found myself in this position, the only comments I got from the AHJ were that the hole in the back of the surface box must be of appropriate size to acess any splices in the flush box, and that the surface box be mounted to the flush box, not soley the wall.
As long as it is secured well, and there are no issues with abrasion, you should not have a problem with this.