It isn't done because it is not that simple to re-engine an aircraft. There are many extensive modifications that need to be done and the whole aircraft has to be certified again. It is occasionally done as with the Air force's 707 which were retrofitted with new avionics and CFM56's but in most cases, it involves years of R&D and a new aircraft model usually results. For example airbus released a new A320 with the CFM leap engine, the A320NEO. But airlines cant simply strap on CFM leap engines in place of the V2500 engines already in place
AF447 was a high altitude stall, but the stall was fully developed, both wings were equally stalled and it stayed roughly wings level. Being a t-tail this aircraft could have entered a deep stall and a flat spin which would have been unrecoverable.