Not really...
So... Based on a previous
post I made, could it be possible for the US-Mexican war to have achieved a different result? Basically, the premise here is that Mexico suceeds in at least defending part of Alta California and maybe some of Nuevo Mexico. Could the US then just instead opt to "liberate" Yucatan and stir the "Rio Grande Republic" to pull another Texas, too? Both territories, after all, seem perfect for Southron ambitions. Is it possible to pull off?
The problem, as pointed out, is that Mexico had - essentially - lost the vast majority of what eventually became the Cession territory in 1846, and - as demonstrated by Buena Vista, in February, 1847 - even when the Mexican field forces outnumbered the available US forces by roughly 3-1, they couldn't pull off a victory in what amounted to the Mexican "northeast."
California, of course, was taken by combined operations (Army overland and Navy by sea); Mexico had no navy worth the name, and the overland route from Sonora can be interdicted in New Mexico and points west - which the Americans could get to more easily overland from their own territory than the Mexicans could; there's a reason the Santa Fe Trail began, essentially, in St. Louis.
And even if Scott's expeditionary had never been sent to "eastern/central" Mexico (for lack of a better term) by sea, the Cession was already a lost cause for the Mexicans.
The biggest "structural" problem for Mexico in comparison to the US in the first half of the Nineteenth Century was the US gained its independence in 1783; Mexico gained its in 1821, although the Spanish were still trying to intervene as late as 1829 - which was the conflict where a) Santa Anna emerged as a military hero, and b) Bustamante ended up overthrowing Guerrero with the army that had been assembled to fight the Spanish.
So, basically, the Americans have a four-decades-long lead over the Mexicans in terms of national consolidation, economic growth, creation of political stability, developing national institutions like and army and navy, absorbing immigrants, etc.
It's pretty close to impossible for Mexico to make up that gap by the time the two nations are facing off over what became the American southwest in the 1830s and 1840s, especially given the realities of Mexico's domestic politics.
Best,