Naw, its a known thing. There's an even better version of this trick that leads to a ~20 second fight, but it might be PS2 version exclusive. As far as I know, these happenings are purely luck. Here are some youtube links: TSC Egg Beetle Ranking: https://www.soniccenter.org/rankings/sonic_unleashed_wii-ps2/bosses/egg_beetle 20 second fight:
Both Egg Beetle and Egg Lancer have techniques or tricks to allow you to get a double hit - I'm pretty sure my Lancer PB does the same thing, however that one appears to be a lot more consistent, whereas getting the trick in my Beetle PB was purely a fluke.
They're probably both consistent in some way but due to most of the community from like 2009-13 not recording many of their runs it's difficult for us to find out.
A friendly reminder to read all of the rules before submitting. :D