Is the My Little Pony friendship is magic rainbow power toyline based on season four of the show?

Yes. In the season finale, the box under the Tree of Harmony opened and the ponies transformed into their Rainbow Power equivalents. They looked exactly like the toyline this design spawned from.