No, this attack wouldn't work on bitcoin. Bitcoin chooses the chain with the most total work (which is blocks x difficulty), not the most blocks. Else someone could fork the chain from a block sometime in 2009 when difficulty was very low and outpace the rest of the network.