Moving home and switching supplier

Can I switch energy suppliers if I’ve got a smart meter?