The matter is a little more complicated than that, because Alaska also has some of the nation's most stringent licensure requirements with no alternative routes for high-demand low-supply subject area teachers. You could probably relax those artificial barriers to employment and get more Alaskans teaching without raising the salary as much as if you kept the licensure requirements. You could also promise student debt relief for teachers who serve in rural areas for a certain length of time.
It already exists its called PSLF
Alaska is already one of the top states for educator pay, and as you know how US government has continioualy failed to solve problems by throwing more money at it, you know more money will simply cause more general inflation and will never solve it.
US already spends more for education with worse results
"The United States spent $15,500 per FTE student at the elementary/secondary level, which was 38 percent higher than the average of OECD countries3 reporting data ($11,300). The United States had the fifth highest expenditures per FTE student at the elementary/secondary level in 2019 after Luxembourg, Norway ($18,000), and Austria and the Republic of Korea ($15,900 each)."
Source: https://nces.ed.gov/programs/coe/indicator/cmd/education-exp...
This actually highlights two dumb things about the USA: prejudice against immigrants, and unwillingness to fund education.