Yes, you can typically travel with an electric pump, but you must follow the guidelines for battery-operated devices. Electric pumps with lithium-ion batteries under 100 watt-hours are usually allowed in carry-on luggage. Spare batteries should be packed in your carry-on rather than your checked luggage. As always, consult your airline's specific guidelines to ensure your electric pump is allowed on board.