Rollcage kit?

ive seen cars with a removeable rear cross bar but im not sure if that is track legal or not someone on here should know that though. thats actually something that i would like to know cause i might wanna do that.