Well it could. Who knows how Cybertronians work?Luckily, thanks to how Steve Blum portrayed that Wheeljack in Bumblebee, they can't be the same Wheeljack anyway.
Bee movie Wheeljack was voiced like a gruff old war veteran who's getting up there in his years (which actually aligns with how Que was portrayed as being even older in DOTM), while ROTB Wheeljack was voiced like a much younger character, sounding like he had just recently graduated high school. Aging doesn't work backwards.
But I think there's some connective tissue. They gave RotB Wheeljack G1 head fins for a reason.
But also Bumblebee and RotB were helmed by two different creative teams. Broad plot points were likely kept in mind but I seriously doubt anyone cared enough to say "we can't call this character Wheeljack it doesn't fit with that last movie."
They had an idea for a character and grabbed a name, and that was that in all likelihood.