Bonjour Linda!
Yes, you can also use the more formal inverted question type. Just don't forget the hyphen that indicates the inversion between the verb and its subject:
Comment t'appelles-tu ?
Comment vous appelez-vous ?
(more advanced) Comment s'appelle-t-il ?
À bientôt !