Broad area semiconductor lasers can suffer from beam filamentation and complex temporal behavior. A numerical proof of concept shows how coordinated pump and refractive-index modulation may suppress these instabilities, while accounting for carrier dynamics and diffusion.