Normally this is possible, but it depends on the airline. When in doubt, consult your airline.