Do these mean the same?
He finished his career while playing for various teams in European leagues .
He finished his career by playing in various leagues for European teams .
no