Definitely.
Although I've always held that limiting illegal immigration as much as possible would also help lead to a more stable and prosperous Mexico as well.
Mexico's corruption is well known, however what people don't always realize is that Mexico practices and believes in "win-lose" capitalism. The U.S., at least in theory desires "win-win" capitalisim.
The nominal U.S. capitalist thinks, "If my workers get ahead, someone else will come along and take their job, and the now wealthy worker who got ahead and left is either a potential customer, or at least an economic pump that makes the business climate better for everyone."
The nominal Mexican capitalist thinks, "If my workers get ahead, I will not have cheap labor anymore, and my business will go under."
It's not exactly that concise, and of course, all rules have exceptions, but I feel it's a distillation of the long standing cultural attitudes of both nations. And Mexico's land, property, deed, mortgage, and contract laws tend to favor the established wealthy over the up and coming in a myriad of subtle ways.
And what happens is that instead of resisting the status quo, or fueling reforms, those with the desire to change their circumstances can come to the U.S. instead of fighting for change at home. We've become Mexico's pressure relief valve that prevents meaningful change at home.