Yes, they are obtainable.
Codes for Beyblade Battles generally come from the products themselves and from official promotions, so the box your Beyblade came in is the first place to look — the code is usually printed on the packaging or on a card inside.
Be cautious of sites claiming to generate them. Those are reliably either fake or a route to something you did not want to install.