You can carry roller skates on most airplanes if they fit within your airline’s permitted size and weight. Even rollerblades and ice skates are OK. You should check to see whether it would fit in the overhead compartment or beneath the seat ahead of you.
You should research your airline’s limits before arriving at the airport because each airline has its luggage policies.