Yes, it does boost the power of Foul play.
>The target's Attack stat modifier is incorporated into damage calculation. With the exception of the Attack stat and Attack stat modifier, all other factors affecting damage calculation, including the item, Ability, type, and status ailment of the user of Foul Play, are incorporated as normal.
Source: Experience and Bulbapedia
Hope I helped.