Play along with (someone or something)

To agree to cooperate with someone’s plan.

I decided to play along with my friend and his plan to buy a horse.