Diffusion on fractals with interacting internal boundaries