Is it okay to put aloe on rug burn?

Probably. Of course, it depends on the depth of the burn, its age and any other factors (e.g. Systemic diseases like diabetes).