Carpet is a great choice for a bedroom flooring for many reasons. Carpet is a textile so it adds warmth and comfort to a room. Between the carpet and pad both it acts as an insulator and can be a safer flooring choice for small children and elderly.
Typical carpet can install for about 50% of the cost of hard surface products such as hardwood and LVT.
Carpet installation in most cases will install quicker and without the need to disturb base boards.
Good luck on your project.