Dishwasher and garbage disposal wiring in same gang box
This is up to code even today with GFCI protection. I would locate the receptacles on the sink side so the dishwasher can be plugged in there through a hole in the cabinet as Jim Stewart commented and this would pass inspection unless there are some local code restrictions above and beyond the NEC. You could do it with a deep single gang and break the tabs on both the hot and neutral if the GFCI’s are in your panel.