Yeaaah no. What it would certainly do would screw up the geometry completely and the bike would likely handle like absolute crap
The worst case is that the change in head tube angle would cause too great a prolonged stress to the frame and would eventually rip the head tube right out of the down tube. Modern mtb's are built with these stresses in mind and the steel frames have gussets in critical high stress areas created by the slacker head tube angles.
Even the 26" forks are 490mm axle to crown whereas the 520 fork is 400mm maximum (Surly touring forks are 390mm). For reference MTB frame manufacturers specify a window of 40mm of acceptable travel change so +/- 20mm from the intended travel for the frame before you lose the warranty. This is with machines designed for the increased stresses of slack headtube angles.
In the case of the 520 you would be increasing the fork length with 90-100mm. That is HUGE! It is RIDICULOUS! Don't do it man.
This is of course with the level of suspension forks that are worth even considering (RockShox Reba and above). There are of course those clinky hybrid forks but... Well let's just say they are an abomination and a pestilence upon the cycling world. Don't go that way.