No. Batting the ball does not constitute control. Control is established by dribbling or holding a live ball inbounds. Batting the ball from the player in possession is not a dribble. You had a team control foul and shouldn't have shot FTs.
BTW, better to always use A as the offensive team and B as the defensive team. It's consistent with the case book, exams, NFHS interps, etc.