Yes, Middle French tro(u)pe comes from a presumed (reconstructed) Latin *troppus, but the English word troop comes from the French. The Latin word was a Germanic borrowing. Hence the Dorf/thorp cognates.