Re: residential load center replacement
As long as the articles outlined below are not violated I see nothing wrong with you installation.
210.8 (A) (7) Laundry, utility, and wet bar sinks ? where the receptacles are installed within 1.8 m (6 ft) of the outside edge of the sink
110.26 (A) (2) Width of Working Space. The width of the working space in front of the electric equipment shall be the width of the equipment or 750 mm (30 in.), whichever is greater.
Personally I would try to work out something different but see no code violation. This is like putting a panel in a bedroom where AFCI protection is required.