Can be done. Don’t expect it to handle as well. Likewise, don’t expect the weight loss to work miracles.
Get a fork with a similar axle to crown measurement or it’ll change your geometry.
Depending upon the fork, if you get a bigger tire, 2.8-3.0 up front, it’ll still be pretty capable.