Yes, Impreza turbos, both stock and aftermarket, directly bolt onto Foresters (assuming they are in the stock location and not an unusual setup of some kind). If it's not a stock TD04 you'll need some supporting mods and a tune, though.
We’re the best Subaru Forester Owners Forum to talk about the best years of the Subaru Forester, modifications and reliability history of the Subaru Forester.