If you want to start learning how to fly quads for racing, start off small, with something like the Tinywhoop sized drones. There's several reasons I suggest this:
1) They're pretty indestructible. It's possible to break them, but I've slammed mine at full speed into a wall and had it bounce off, then was able to keep flying.
2) Parts are cheap for them. Frames tend to be under $10, sets of four motors will usually run $20 or less, and props can be had for $10 for several sets of different colors.
3) Many of the good ones will allow you to start off with a self leveling mode, and allow you to switch up to full acro, just like the larger 5 inch racing quads, allowing you to fly with more speed and pull off loops and rolls. This will not only give you the same feel, but you can fly almost anywhere, indoors or out.
https://newbeedrone.com/collections/beeductrix-inductrix/products/acrobee-lite-rtf-kit
This is a good way to get into it - $200, and you get EVERYTHING you need to start off with: quad, 4 batteries, a charger, controller, AND headset. The goggles can be used for any other quad that broadcasts on analog FPV bands, as can the quad can be flown with an FrSky compatible transmitter if you decide to upgrade to a different controller.
Is it the best equipment out there? No. There's other stuff out there that you would want to use for full on racing drones. That said, you're going to be spending a fair chunk of change to make that happen - $450-$700 just for the quad, and that doesn't include goggles or transmitter. But as a way to dip your toes in and get started, this is a great way to go for learning to fly quads and learning to race them.