Yes but nobody told me I couldn't take a car as on-board luggage in an aeroplane so therefore it must be safe.
Save yourself some embarrassment, they will rarely fit through the measuring frame. You are better off trying to jam it into one of your pockets-->