Delineation between drywall and cementboard
I see no problem at all with your plan, even if there's a 1/8" thickness variation. That's not enough to tilt your cabinets substantially out of plumb. If it's a concern you can always shim behind the cabinets, since any resulting gap will be covered by the tile.