Not according to RAI. An Improvised weapon is not a Melee nor a Ranged weapon. It can be used to make melee or ranged weapon attacks, but as with unarmed strikes it doesn't gain proficiency bonus and isn't a weapon itself.
You might play DM-May-I to ask the DM to treat the chair leg AS a club...